diff options
Diffstat (limited to 'rts/PrimOps.cmm')
-rw-r--r-- | rts/PrimOps.cmm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm index 7b760e5702..503797f556 100644 --- a/rts/PrimOps.cmm +++ b/rts/PrimOps.cmm @@ -1081,6 +1081,14 @@ stg_labelThreadzh ( gcptr threadid, W_ addr ) return (); } +stg_listThreadszh () +{ + P_ arr; + + ("ptr" arr) = ccall listThreads(MyCapability() "ptr"); + return (arr); +} + stg_isCurrentThreadBoundzh (/* no args */) { W_ r; |