X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRaiseAsync.h;h=6f7c305d54145da5e54774e1cf6759eedd0b73fd;hb=de75026f5a48d3d052135a973ab4dff76c5b20f5;hp=3ab96abac20b33fc74eb077c6c754ed5544a8151;hpb=ab0e778ccfde61aed4c22679b24d175fc6cc9bf3;p=ghc-hetmet.git diff --git a/rts/RaiseAsync.h b/rts/RaiseAsync.h index 3ab96ab..6f7c305 100644 --- a/rts/RaiseAsync.h +++ b/rts/RaiseAsync.h @@ -20,12 +20,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 +37,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