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:
7424231
)
Make ostty.o state thread-local.
author
Matt Birkholz
<puck@birchwood-abbey.net>
Sun, 19 Jul 2015 19:17:10 +0000
(12:17 -0700)
committer
Matt Birkholz
<puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:46 +0000
(
01:09
-0700)
The next_interrupt_char is set by the processor's signal handler and
read by Scheme's interrupt handler, which now runs with timer
interrupts masked (to keep the handler on the processor with the
next_interrupt_char).
src/microcode/ostty.c
patch
|
blob
|
history
diff --git
a/src/microcode/ostty.c
b/src/microcode/ostty.c
index d0916e5d535a2c5aac43942d210218cc85a055b7..112baae05a6e206770b8790fdd5c1998cf8152df 100644
(file)
--- a/
src/microcode/ostty.c
+++ b/
src/microcode/ostty.c
@@
-28,7
+28,7
@@
USA.
#include "osscheme.h"
#include "prims.h"
-static cc_t next_interrupt_char;
+static
__thread
cc_t next_interrupt_char;
void
tty_set_next_interrupt_char (cc_t c)