Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-lwc
http://hackage.haskell.org/trac/ghc/changeset/d1acc4cc0a0454ceda8b5187c5d9291122b59153 >--------------------------------------------------------------- commit d1acc4cc0a0454ceda8b5187c5d9291122b59153 Author: kc <[email protected]> Date: Sat May 12 10:30:46 2012 -0400 Upcall threads labelled. Entering blackhole under PTM triggers either work-inheriting (same cap) or blocking (different cap). Added helper function printStackFrames. raiseAsync with stop_here specialized to either including or excluding. All of the above tested under blackhole-test-working.hs. includes/rts/Threads.h | 4 + rts/Capability.c | 1 + rts/RaiseAsync.c | 1694 +++++++++++++++++++++------------------ rts/RaiseAsync.h | 6 + rts/Schedule.c | 9 +- rts/StgMiscClosures.cmm | 16 +- rts/ThreadLabels.h | 3 - rts/Threads.c | 154 +++- rts/Threads.h | 1 + tests/PChan.hs | 3 +- tests/blackhole-test-working.hs | 4 +- 11 files changed, 1059 insertions(+), 836 deletions(-) Diff suppressed because of size. To see it, use: git show d1acc4cc0a0454ceda8b5187c5d9291122b59153 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
