summaryrefslogtreecommitdiff
path: root/libguile/debug.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-11-01 23:07:56 +0100
committerAndy Wingo <wingo@pobox.com>2016-11-01 23:07:56 +0100
commit399379bf255f7deb7e4da140081b17d6e99df894 (patch)
treed0a596e97891415a832e88afad024e88d51f3309 /libguile/debug.c
parent42882bbf42fa70a3c7174909a32a91b9ff68abbf (diff)
downloadguile-399379bf255f7deb7e4da140081b17d6e99df894.tar.gz
Remove critical section in scm_debug_options
* libguile/debug.c (scm_debug_options): Remove critical section. There is no memory corruption hazard and racing callers to debug options won't produce sensible results anyway; or anyway they will be the same as racing vector-set!.
Diffstat (limited to 'libguile/debug.c')
-rw-r--r--libguile/debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libguile/debug.c b/libguile/debug.c
index 878777d56..dfc9bda30 100644
--- a/libguile/debug.c
+++ b/libguile/debug.c
@@ -109,13 +109,9 @@ SCM_DEFINE (scm_debug_options, "debug-options-interface", 0, 1, 0,
{
SCM ans;
- scm_dynwind_begin (0);
- scm_dynwind_critical_section (SCM_BOOL_F);
-
ans = scm_options (setting, scm_debug_opts, FUNC_NAME);
scm_stack_checking_enabled_p = SCM_STACK_CHECKING_P;
- scm_dynwind_end ();
return ans;
}
#undef FUNC_NAME