Repository : http://darcs.haskell.org/ghc.git/
On branch : ghc-lwc2 https://github.com/ghc/ghc/commit/ed49cf3703f186516cd264953a633f7537f2ebd0 >--------------------------------------------------------------- commit ed49cf3703f186516cd264953a633f7537f2ebd0 Author: KC Sivaramakrishnan <[email protected]> Date: Mon May 13 17:09:40 2013 -0400 RTS Scheduler minor fix: Upcall thread has more priority than other threads on RTS runqueue. >--------------------------------------------------------------- rts/Schedule.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rts/Schedule.c b/rts/Schedule.c index 8bb1c7f..eb57408 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -339,12 +339,6 @@ more_upcalls: */ if (!emptyUpcallQueue(cap)) { t = prepareUpcallThread (cap, t); - //If there are other runnable threads, append the upcall thread to - //the scheduler. - if (!emptyRunQueue (cap)) { - appendToRunQueue (cap, t); - continue; - } } else { t = restoreCurrentThreadIfNecessary (cap, t); _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
