GHC.Prim.threadStatus# now returns the cap number, and the value of TSO_LOCKED
[ghc-hetmet.git] / compiler / prelude / primops.txt.pp
index 525a837..777e83f 100644 (file)
@@ -1449,7 +1449,7 @@ primop  NoDuplicateOp "noDuplicate#" GenPrimOp
    has_side_effects = True
 
 primop  ThreadStatusOp "threadStatus#" GenPrimOp
-   ThreadId# -> State# RealWorld -> (# State# RealWorld, Int# #)
+   ThreadId# -> State# RealWorld -> (# State# RealWorld, Int#, Int#, Int# #)
    with
    out_of_line = True
    has_side_effects = True