summaryrefslogtreecommitdiff
path: root/rts/Task.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-11-13 12:53:14 +0000
committerIan Lynagh <igloo@earth.li>2010-11-13 12:53:14 +0000
commit81e61ece2c8e98c3e42df4fa5074a9dff334bdfc (patch)
tree718a04c5673cbe8374e445b0e4076d5cd54cdb39 /rts/Task.c
parent2c3e47bb5dc96ed5e0a17f49f8fe8e0abe986dcc (diff)
downloadhaskell-81e61ece2c8e98c3e42df4fa5074a9dff334bdfc.tar.gz
Fix up the ifdefs in Task.c
Diffstat (limited to 'rts/Task.c')
-rw-r--r--rts/Task.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/Task.c b/rts/Task.c
index 8994ad153e..a15758c4f1 100644
--- a/rts/Task.c
+++ b/rts/Task.c
@@ -359,6 +359,8 @@ static void *taskId(Task *task)
#endif
}
+#endif
+
#if defined(THREADED_RTS)
static void OSThreadProcAttr
@@ -431,6 +433,8 @@ interruptWorkerTask (Task *task)
#endif /* THREADED_RTS */
+#ifdef DEBUG
+
void printAllTasks(void);
void