[project @ 2004-09-07 12:30:27 by simonmar]
[ghc-hetmet.git] / ghc / rts / Exception.h
index 291ad20..c20be8f 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Exception.h,v 1.7 2003/11/12 17:49:07 sof Exp $
+ * $Id: Exception.h,v 1.9 2004/08/13 13:09:46 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2000
  *
@@ -27,7 +27,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;
   }
 }
+