projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
080a6a8
)
[project @ 2005-11-07 10:20:43 by simonmar]
author
simonmar
<unknown>
Mon, 7 Nov 2005 10:20:43 +0000
(10:20 +0000)
committer
simonmar
<unknown>
Mon, 7 Nov 2005 10:20:43 +0000
(10:20 +0000)
Fix non-threaded build.
ghc/rts/Schedule.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Schedule.c
b/ghc/rts/Schedule.c
index
5f186b2
..
93a64d8
100644
(file)
--- a/
ghc/rts/Schedule.c
+++ b/
ghc/rts/Schedule.c
@@
-2059,8
+2059,10
@@
forkProcess(HsStablePtr *entry
}
RELEASE_LOCK(&sched_mutex);
+#if defined(THREADED_RTS)
// wipe our spare workers list.
cap->spare_workers = NULL;
+#endif
cap = rts_evalStableIO(cap, entry, NULL); // run the action
rts_checkSchedStatus("forkProcess",cap);