From: Matt Birkholz Date: Sun, 19 Jul 2015 20:46:27 +0000 (-0700) Subject: Make uxproc.o state thread-local or single-threaded. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6a0c5f554fca5288a805ee6b0eebe4d4d3f8a07a;p=mit-scheme.git Make uxproc.o state thread-local or single-threaded. Make grabbed_signal_mask pthread-local. (process_table et al are already used serially by the runtime system.) --- diff --git a/src/microcode/uxproc.c b/src/microcode/uxproc.c index 9dc32b367..f48b7a3d3 100644 --- a/src/microcode/uxproc.c +++ b/src/microcode/uxproc.c @@ -117,7 +117,7 @@ block_jc_signals (void) transaction_record_action (tat_always, restore_signal_mask, outside); } -static sigset_t grabbed_signal_mask; +static __thread sigset_t grabbed_signal_mask; static void grab_signal_mask (void)