simonmar    2005/11/08 07:07:08 PST

  Modified files:
    ghc/rts              Schedule.c 
  Log:
  SMP bugfix: if the thread we were just running blocked, then we are in
  a delicate state - we don't necessarily have access to the TSO we were
  just running, because we relinquished it when we put it on whatever
  blocking queue it is on.  It might even be running already.
  
  Previously I made the scheduler quickly loop again in this case.
  However, I made it loop too quickly: we should be sure to set the
  blackholes_need_checking flag if necessary, otherwise we can miss some
  wakeups.
  
  Revision  Changes    Path
  1.277     +12 -10    fptools/ghc/rts/Schedule.c
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to