projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make -dverbose-core2core set verbosity = 2
[ghc-hetmet.git]
/
rts
/
Schedule.c
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
167cac1
..
539e006
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-1454,6
+1454,12
@@
scheduleDoGC (Capability *cap, Task *task USED_IF_THREADS, rtsBool force_major)
// GC thread each.
waitForGcThreads(cap);
}
+
+#else /* !THREADED_RTS */
+
+ // do this while the other Capabilities stop:
+ if (cap) scheduleCheckBlackHoles(cap);
+
#endif
IF_DEBUG(scheduler, printAllThreads());