Commit 55d7931d authored by Simon Marlow's avatar Simon Marlow
Browse files

waitForGcThreads: should be calling interruptCapability(), not interruptAllCapabilities()

parent 5c1fbb46
......@@ -1124,7 +1124,7 @@ waitForGcThreads (Capability *cap USED_IF_THREADS)
for (i=0; i < n_threads; i++) {
if (i == me) continue;
write_barrier();
interruptAllCapabilities();
interruptCapability(&capabilities[i]);
if (gc_threads[i]->wakeup != GC_THREAD_STANDING_BY) {
retry = rtsTrue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment