X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FRaiseAsync.h;h=805281443e2e6a9860263b30e55b1720761b6f81;hp=8e59d51d9f8115bdf94b28ff7ccc6e9a086d2c4f;hb=b19ba85c6ec3504a66b33243cfb43599d8c298a7;hpb=b1953bbb1ed3cb16497e5447db7487f0c2d9e41a diff --git a/rts/RaiseAsync.h b/rts/RaiseAsync.h index 8e59d51..8052814 100644 --- a/rts/RaiseAsync.h +++ b/rts/RaiseAsync.h @@ -38,14 +38,14 @@ 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 * indefinitely). Interruptible threads can be sent an exception with * killThread# even if they have async exceptions blocked. */ -STATIC_INLINE int +INLINE_HEADER int interruptible(StgTSO *t) { switch (t->why_blocked) {