[project @ 2002-10-22 11:01:18 by simonmar]
authorsimonmar <unknown>
Tue, 22 Oct 2002 11:01:20 +0000 (11:01 +0000)
committersimonmar <unknown>
Tue, 22 Oct 2002 11:01:20 +0000 (11:01 +0000)
commitb7129526ec3cd30f39040982ebba7d7d3b0d76cf
tree76cba7158404e691e6a02ec566b1bb608898d39b
parente77403886f512c90120fd2f82dcd3e2b0a1d0b04
[project @ 2002-10-22 11:01:18 by simonmar]
change the types of cmp_thread, rts_getThreadId, and labelThread to
take StgPtr rather than StgTSO *, since the compiler now has no
distinction between these two types in the back end.

I also noticed that labelThread need not be a primitive: it could just
as well be a normal C function called by the FFI, but I haven't made
that change.
ghc/includes/PrimOps.h
ghc/rts/PrimOps.hc
ghc/rts/Schedule.c
ghc/rts/Schedule.h