add another SMP assertion
authorSimon Marlow <simonmar@microsoft.com>
Mon, 13 Mar 2006 15:41:02 +0000 (15:41 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 13 Mar 2006 15:41:02 +0000 (15:41 +0000)
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;