Fix compacting GC bug: don't forget to thread the blackhole_queue
authorSimon Marlow <marlowsd@gmail.com>
Tue, 9 Sep 2008 13:22:34 +0000 (13:22 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 9 Sep 2008 13:22:34 +0000 (13:22 +0000)
rts/sm/Compact.c

index 9f0a69d..7f3bb29 100644 (file)
@@ -996,6 +996,9 @@ compact(StgClosure *static_objects)
     // any threads resurrected during this GC
     thread((void *)&resurrected_threads);
 
+    // the blackhole queue
+    thread((void *)&blackhole_queue);
+
     // the task list
     {
        Task *task;