[commit: ghc] ghc-lwc: 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. (d1acc4c)
Sivaramakrishnan Krishnamoorthy Chandrasekaran
kc at galois.com
Sat May 12 17:39:20 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : ghc-lwc
http://hackage.haskell.org/trac/ghc/changeset/d1acc4cc0a0454ceda8b5187c5d9291122b59153
>---------------------------------------------------------------
commit d1acc4cc0a0454ceda8b5187c5d9291122b59153
Author: kc <chandras at cs.purdue.edu>
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
More information about the Cvs-ghc
mailing list