simonmar 2005/04/25 08:36:29 PDT
Modified files:
ghc/rts Schedule.c Schedule.h Timer.c
Log:
Partial support for deadlock detection in the threaded/SMP RTS.
The idea is to wait until a complete time slice has gone by without
running any Haskell code, and then try doing a GC to detect deadlocked
threads.
This kind of works: but we can only wake up a worker thread from the
signal handler if there's another worker running - we can't wake up the
current thread, it seems.
Revision Changes Path
1.238 +28 -7 fptools/ghc/rts/Schedule.c
1.54 +9 -0 fptools/ghc/rts/Schedule.h
1.5 +25 -0 fptools/ghc/rts/Timer.c
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc