Wrap gcc on Windows, to provide the -B flags
[ghc-hetmet.git] / rts / RaiseAsync.h
index 3ab96ab..96eb96e 100644 (file)
@@ -13,6 +13,9 @@
 #define THROWTO_BLOCKED   1
 
 #ifndef CMINUSMINUS
+
+BEGIN_RTS_PRIVATE
+
 void throwToSingleThreaded (Capability *cap,
                            StgTSO *tso,
                            StgClosure *exception);
@@ -20,12 +23,11 @@ void throwToSingleThreaded (Capability *cap,
 void throwToSingleThreaded_ (Capability *cap, 
                             StgTSO *tso, 
                             StgClosure *exception, 
-                            rtsBool stop_at_atomically,
-                            StgPtr stop_here);
+                            rtsBool stop_at_atomically);
 
 void suspendComputation (Capability *cap, 
                         StgTSO *tso, 
-                        StgPtr stop_here);
+                        StgUpdateFrame *stop_here);
 
 nat throwTo (Capability *cap,           // the Capability we hold 
             StgTSO *source,             // the TSO sending the exception
@@ -38,7 +40,7 @@ nat throwTo (Capability *cap,          // the Capability we hold
 void throwToReleaseTarget (void *tso);
 #endif
 
-void maybePerformBlockedException (Capability *cap, StgTSO *tso);
+int  maybePerformBlockedException (Capability *cap, StgTSO *tso);
 void awakenBlockedExceptionQueue  (Capability *cap, StgTSO *tso);
 
 /* Determine whether a thread is interruptible (ie. blocked
@@ -65,6 +67,8 @@ interruptible(StgTSO *t)
   }
 }
 
+END_RTS_PRIVATE
+
 #endif /* CMINUSMINUS */
 
 #endif /* RAISEASYNC_H */