Interruptible FFI calls with pthread_kill and CancelSynchronousIO. v4
[ghc-hetmet.git] / includes / rts / Threads.h
index ca3e8b2..c974142 100644 (file)
@@ -31,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 *);
 
 //