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:
e5cc0e3
)
indicate which TSOs are dirty in the printAllThreads() output
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 7 Jan 2009 15:14:49 +0000
(15:14 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 7 Jan 2009 15:14:49 +0000
(15:14 +0000)
rts/Threads.c
patch
|
blob
|
history
diff --git
a/rts/Threads.c
b/rts/Threads.c
index
65eaf8d
..
2c7b2be
100644
(file)
--- a/
rts/Threads.c
+++ b/
rts/Threads.c
@@
-763,6
+763,11
@@
printThreadStatus(StgTSO *t)
default:
printThreadBlockage(t);
}
default:
printThreadBlockage(t);
}
+ if (t->flags & TSO_DIRTY) {
+ debugBelch(" (TSO_DIRTY)");
+ } else if (t->flags & TSO_LINK_DIRTY) {
+ debugBelch(" (TSO_LINK_DIRTY)");
+ }
debugBelch("\n");
}
}
debugBelch("\n");
}
}