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:
4cb89d6
)
extra sanity checking: call checkTSO() in resumeThread()
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 10 Mar 2006 20:43:43 +0000
(20:43 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 10 Mar 2006 20:43:43 +0000
(20:43 +0000)
ghc/rts/Schedule.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Schedule.c
b/ghc/rts/Schedule.c
index
578328d
..
6d8fe63
100644
(file)
--- a/
ghc/rts/Schedule.c
+++ b/
ghc/rts/Schedule.c
@@
-2289,6
+2289,8
@@
resumeThread (void *task_)
/* We might have GC'd, mark the TSO dirty again */
dirtyTSO(tso);
+ IF_DEBUG(sanity, checkTSO(tso));
+
return &cap->r;
}