Thu Oct 23 08:50:17 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* Fix a bug in the new scheduler
If the current thread blocks, we should yield the Capability
immediately, because the thread and hence possibly the current Task
are now owned by someone else. This worked in the old scheduler, but
we moved where the yield happens in the new scheduler which broke it.
M ./rts/Schedule.c -1 +2
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081023155017-12142-49e08b2cc2279582d70889535eaaf9b560d4c5c5.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc