Mon Nov 17 06:45:15 PST 2008 Simon Marlow <[EMAIL PROTECTED]>
* Fix #2783: detect black-hole loops properly
At some point we regressed on detecting simple black-hole loops. This
happened due to the introduction of duplicate-work detection for
parallelism: a black-hole loop looks very much like duplicate work,
except it's duplicate work being performed by the very same thread.
So we have to detect and handle this case.
M ./rts/RaiseAsync.c -12 +28
M ./rts/RaiseAsync.h -3 +2
M ./rts/Schedule.c -1 +1
M ./rts/ThreadPaused.c -4 +7
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081117144515-12142-985629c08996a6139fdabf640d32199b9298aa00.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc