From: Ian Lynagh Date: Sat, 13 Nov 2010 12:53:14 +0000 (+0000) Subject: Fix up the ifdefs in Task.c X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=81e61ece2c8e98c3e42df4fa5074a9dff334bdfc;p=ghc-hetmet.git Fix up the ifdefs in Task.c --- diff --git a/rts/Task.c b/rts/Task.c index 8994ad1..a15758c 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