diff options
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r-- | rts/Schedule.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c index 9323915dfe..22787c4cfb 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -136,7 +136,6 @@ static Capability *schedule (Capability *initialCapability, Task *task); // abstracted only to make the structure and control flow of the // scheduler clearer. // -static void schedulePreLoop (void); static void scheduleFindWork (Capability **pcap); #if defined(THREADED_RTS) static void scheduleYield (Capability **pcap, Task *task); @@ -205,8 +204,6 @@ schedule (Capability *initialCapability, Task *task) debugTrace (DEBUG_sched, "cap %d: schedule()", initialCapability->no); - schedulePreLoop(); - // ----------------------------------------------------------- // Scheduler loop starts here: @@ -599,20 +596,6 @@ promoteInRunQueue (Capability *cap, StgTSO *tso) pushOnRunQueue(cap, tso); } -/* ---------------------------------------------------------------------------- - * Setting up the scheduler loop - * ------------------------------------------------------------------------- */ - -static void -schedulePreLoop(void) -{ - // initialisation for scheduler - what cannot go into initScheduler() - -#if defined(mingw32_HOST_OS) && !defined(USE_MINIINTERPRETER) - win32AllocStack(); -#endif -} - /* ----------------------------------------------------------------------------- * scheduleFindWork() * |