projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1120322
)
add another SMP assertion
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 13 Mar 2006 15:41:02 +0000
(15:41 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 13 Mar 2006 15:41:02 +0000
(15:41 +0000)
ghc/rts/Schedule.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Schedule.c
b/ghc/rts/Schedule.c
index
6d8fe63
..
b0a8dc6
100644
(file)
--- a/
ghc/rts/Schedule.c
+++ b/
ghc/rts/Schedule.c
@@
-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;