projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab6cc3
)
Make uxproc.o state thread-local or single-threaded.
author
Matt Birkholz
<puck@birchwood-abbey.net>
Sun, 19 Jul 2015 20:46:27 +0000
(13:46 -0700)
committer
Matt Birkholz
<puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:47 +0000
(
01:09
-0700)
Make grabbed_signal_mask pthread-local. (process_table et al are
already used serially by the runtime system.)
src/microcode/uxproc.c
patch
|
blob
|
history
diff --git
a/src/microcode/uxproc.c
b/src/microcode/uxproc.c
index 9dc32b367e14a8a6a34bcb2a24d97c48279cf6da..f48b7a3d3e68c52202ade703b73615fd37d7995f 100644
(file)
--- 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)