Commit ed57a347 authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan
Browse files

Schedule.c: remove unused code

parent a323f212
......@@ -180,9 +180,6 @@ schedule (Capability *initialCapability, Task *task)
StgThreadReturnCode ret;
uint32_t prev_what_next;
bool ready_to_gc;
#if defined(THREADED_RTS)
bool first = true;
cap = initialCapability;
......@@ -292,16 +289,6 @@ schedule (Capability *initialCapability, Task *task)
// as a result of a console event having been delivered.
#if defined(THREADED_RTS)
if (first)
// XXX: ToDo
// // don't yield the first time, we want a chance to run this
// // thread for a bit, even if there are others banging at the
// // door.
// first = false;
if (emptyRunQueue(cap)) continue; // look for work again
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