Commit c17eee4d authored by Simon Marlow's avatar Simon Marlow
Browse files

remove unused cap->in_gc flag

parent f6013eed
......@@ -213,7 +213,6 @@ initCapability( Capability *cap, nat i )
cap->no = i;
cap->in_haskell = rtsFalse;
cap->in_gc = rtsFalse;
cap->run_queue_hd = END_TSO_QUEUE;
cap->run_queue_tl = END_TSO_QUEUE;
......
......@@ -43,9 +43,6 @@ struct Capability_ {
// catching unsafe call-ins.
rtsBool in_haskell;
// true if this Capability is currently in the GC
rtsBool in_gc;
// The run queue. The Task owning this Capability has exclusive
// access to its run queue, so can wake up threads without
// taking a lock, and the common path through the scheduler is
......
......@@ -1071,8 +1071,6 @@ gcWorkerThread (Capability *cap)
// necessary if we stole a callee-saves register for gct:
saved_gct = gct;
cap->in_gc = rtsTrue;
gct = gc_threads[cap->no];
gct->id = osThreadId();
......
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