simonmar    2005/05/19 06:46:24 PDT

  Modified files:
    ghc/rts              PrimOps.cmm 
  Log:
  Fix locking when unblocking a thread in take/putMVar.  Due to CPP
  nonsense the previous locking wasn't actually working, which lead to
  deadlock problems.  It now turns out that I can call unblockOne
  directly rather than needing unblockOneLocked (the lock on the MVar
  means I have exclusive access to the threads on its queue).
  
  Revision  Changes    Path
  1.27      +8 -36     fptools/ghc/rts/PrimOps.cmm
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to