mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-17 08:34:20 +00:00
disabled threadpool assertion only for vcc
This commit is contained in:
@@ -290,7 +290,8 @@ proc slave(w: ptr Worker) {.thread.} =
|
||||
readyWorker = w
|
||||
signal(gSomeReady)
|
||||
await(w.taskArrived)
|
||||
#assert(not w.ready) # doesn't work with Visual Studio
|
||||
# XXX Somebody needs to look into this (why does this assertion fail in Visual Studio?)
|
||||
when not defined(vcc): assert(not w.ready)
|
||||
w.f(w, w.data)
|
||||
if w.q.len != 0: w.cleanFlowVars
|
||||
if w.shutdown:
|
||||
|
||||
Reference in New Issue
Block a user