diff options
author | Andy Wingo <wingo@pobox.com> | 2016-11-01 23:07:56 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-11-01 23:07:56 +0100 |
commit | 399379bf255f7deb7e4da140081b17d6e99df894 (patch) | |
tree | d0a596e97891415a832e88afad024e88d51f3309 | |
parent | 42882bbf42fa70a3c7174909a32a91b9ff68abbf (diff) | |
download | guile-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!.
-rw-r--r-- | libguile/debug.c | 4 |
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 |