simonmar 2005/10/12 05:53:15 PDT
Modified files:
ghc/rts StgMiscClosures.cmm HeapStackCheck.cmm
Log:
When blocking on a BLACKHOLE, we must wait until we have finished
manipulating the current thread's stack before we release sched_mutex,
otherwise another thread can pick up the thread from the
blackhole_queue and start running it.
Revision Changes Path
1.9 +4 -12 fptools/ghc/rts/StgMiscClosures.cmm
1.16 +20 -0 fptools/ghc/rts/HeapStackCheck.cmm
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc