From: Simon Marlow Date: Wed, 7 Jan 2009 15:14:49 +0000 (+0000) Subject: indicate which TSOs are dirty in the printAllThreads() output X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=192c7d555448b8a78d57a5c01c0c20f642f2d0f3 indicate which TSOs are dirty in the printAllThreads() output --- diff --git a/rts/Threads.c b/rts/Threads.c index 65eaf8d..2c7b2be 100644 --- a/rts/Threads.c +++ b/rts/Threads.c @@ -763,6 +763,11 @@ printThreadStatus(StgTSO *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"); } }