X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FThreads.h;h=541ca873fb4f8ef03346471b30fb2c2a8781829a;hb=27de38efce6d73d2a0209f803cfa98c82773e773;hp=e331c50dae9ccc33e7687d99800f0cf0125a4795;hpb=b1953bbb1ed3cb16497e5447db7487f0c2d9e41a;p=ghc-hetmet.git diff --git a/rts/Threads.h b/rts/Threads.h index e331c50..541ca87 100644 --- a/rts/Threads.h +++ b/rts/Threads.h @@ -23,9 +23,9 @@ void awakenBlockedQueue(StgBlockingQueueElement *q, StgClosure *node); void awakenBlockedQueue (Capability *cap, StgTSO *tso); #endif -void removeThreadFromMVarQueue (StgMVar *mvar, StgTSO *tso); -void removeThreadFromQueue (StgTSO **queue, StgTSO *tso); -void removeThreadFromDeQueue (StgTSO **head, StgTSO **tail, StgTSO *tso); +void removeThreadFromMVarQueue (Capability *cap, StgMVar *mvar, StgTSO *tso); +void removeThreadFromQueue (Capability *cap, StgTSO **queue, StgTSO *tso); +void removeThreadFromDeQueue (Capability *cap, StgTSO **head, StgTSO **tail, StgTSO *tso); StgBool isThreadBound (StgTSO* tso);