projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e343c12
)
[project @ 2005-04-25 14:22:29 by simonmar]
author
simonmar
<unknown>
Mon, 25 Apr 2005 14:22:29 +0000
(14:22 +0000)
committer
simonmar
<unknown>
Mon, 25 Apr 2005 14:22:29 +0000
(14:22 +0000)
interruptStgRts: call threadRunnable(). This might not work properly
from a signal handler, but it's all we can do (and seems to do
something reasonable on Linux).
ghc/rts/Schedule.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Schedule.c
b/ghc/rts/Schedule.c
index
d1cdcfc
..
ee69d03
100644
(file)
--- a/
ghc/rts/Schedule.c
+++ b/
ghc/rts/Schedule.c
@@
-3220,6
+3220,7
@@
interruptStgRts(void)
{
interrupted = 1;
context_switch = 1;
+ threadRunnable();
}
/* -----------------------------------------------------------------------------