add another SMP assertion
[ghc-hetmet.git] / ghc / rts / Schedule.c
index 6d8fe63..b0a8dc6 100644 (file)
@@ -563,6 +563,8 @@ run_thread:
     // ----------------------------------------------------------------------
     // Run the current thread 
 
+    ASSERT_FULL_CAPABILITY_INVARIANTS(cap,task);
+
     prev_what_next = t->what_next;
 
     errno = t->saved_errno;