[project @ 2005-05-19 13:46:24 by simonmar]
authorsimonmar <unknown>
Thu, 19 May 2005 13:46:24 +0000 (13:46 +0000)
committersimonmar <unknown>
Thu, 19 May 2005 13:46:24 +0000 (13:46 +0000)
commit88825a2e5eda347078339059d08373a2e6b9a963
treeb134d76b45ae64ab9d2df30f9fb9768cc5885574
parent3595da95b2ca0d60c9100f77541b6ce36e49363c
[project @ 2005-05-19 13:46:24 by simonmar]
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).
ghc/rts/PrimOps.cmm