patch applied (ghc): Fix a bug in the new scheduler

Simon Marlow simonmarhaskell at gmail.com
Fri Oct 24 05:52:28 EDT 2008


Thu Oct 23 08:50:17 PDT 2008  Simon Marlow <marlowsd at gmail.com>
  * 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



More information about the Cvs-ghc mailing list