X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Frts%2FThreads.h;h=c974142ce35799559e940266390c159fe824ef33;hb=b54e12fc3ae9f309e1531e10048d58bea5b65b13;hp=4f343b804c875ccf587982dc4c3319204edd6cfc;hpb=653e325e08c5f632aa194f9239e938faca5abba5;p=ghc-hetmet.git diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h index 4f343b8..c974142 100644 --- a/includes/rts/Threads.h +++ b/includes/rts/Threads.h @@ -5,6 +5,11 @@ * External API for the scheduler. For most uses, the functions in * RtsAPI.h should be enough. * + * Do not #include this file directly: #include "Rts.h" instead. + * + * To understand the structure of the RTS headers, see the wiki: + * http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * * ---------------------------------------------------------------------------*/ #ifndef RTS_THREADS_H @@ -26,7 +31,7 @@ StgTSO *createStrictIOThread (Capability *cap, nat stack_size, StgClosure *closure); // Suspending/resuming threads around foreign calls -void * suspendThread (StgRegTable *); +void * suspendThread (StgRegTable *, rtsBool interruptible); StgRegTable * resumeThread (void *); //