X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Frts%2FException.h;h=083faaf230f5e466ab578364735fc94f9e694b32;hb=f7db2c30a659aae5fe59ba2be7ab72f8ca64f712;hp=291ad20b6b5ec075037a8edd54a547fbe63d7742;hpb=20593d1d1cf47050d9430895a1c2ada6c39dfb98;p=ghc-hetmet.git diff --git a/ghc/rts/Exception.h b/ghc/rts/Exception.h index 291ad20..083faaf 100644 --- a/ghc/rts/Exception.h +++ b/ghc/rts/Exception.h @@ -1,5 +1,4 @@ /* ----------------------------------------------------------------------------- - * $Id: Exception.h,v 1.7 2003/11/12 17:49:07 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -27,7 +26,10 @@ interruptible(StgTSO *t) #endif case BlockedOnDelay: return 1; + // NB. Threaded blocked on foreign calls (BlockedOnCCall) are + // *not* interruptible. We can't send these threads an exception. default: return 0; } } +