Minor fixes to enable tcc
This commit is contained in:
parent
af593c2ef3
commit
6ca8478548
3 changed files with 4 additions and 4 deletions
|
|
@ -331,7 +331,7 @@ proc slave(w: ptr Worker) {.thread.} =
|
|||
await(w.taskArrived)
|
||||
# XXX Somebody needs to look into this (why does this assertion fail
|
||||
# in Visual Studio?)
|
||||
when not defined(vcc): assert(not w.ready)
|
||||
when not defined(vcc) and not defined(tcc): assert(not w.ready)
|
||||
|
||||
withLock numSlavesLock:
|
||||
inc numSlavesRunning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue