diff options
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Task.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Task.c b/rts/Task.c index ac86311844..11ba5f1581 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -220,6 +220,7 @@ newTask (bool worker) #if defined(THREADED_RTS) initCondition(&task->cond); initMutex(&task->lock); + task->id = 0; task->wakeup = false; task->node = 0; #endif |