mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-16 14:01:22 +00:00
fixes bootstrapping
This commit is contained in:
@@ -121,6 +121,7 @@ proc slave(w: ptr Worker) {.thread.} =
|
||||
signal(gSomeReady)
|
||||
await(w.taskArrived)
|
||||
assert(not w.ready)
|
||||
# shield against spurious wakeups:
|
||||
if w.data != nil:
|
||||
w.f(w, w.data)
|
||||
w.data = nil
|
||||
|
||||
Reference in New Issue
Block a user