Wed Oct 8 04:26:09 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* Fix #2663: we had a hard-wired capabilities[0]
For some unknown reason in schedulePostRunThread() we were always
passing capabilities[0] rather than the current Capability to
throwToSingleThreaded(). This caused all kinds of weird failures and
crashes in STM code when running on multiple processors.
M ./rts/Schedule.c -5 +4
View patch online:
http://darcs.haskell.org/ghc-6.10/ghc/_darcs/patches/20081008112609-12142-264b80563e5a3b6232544451cb76e96e52075a7e.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc