todo update
This commit is contained in:
parent
ed0d9e271d
commit
7023fdddff
2 changed files with 1 additions and 2 deletions
|
|
@ -204,7 +204,7 @@ proc nimFlowVarSignal(fv: FlowVarBase) {.compilerProc.} =
|
|||
inc fv.ai.cv.counter
|
||||
release(fv.ai.cv.L)
|
||||
signal(fv.ai.cv.c)
|
||||
if fv.usesSemaphore:
|
||||
if fv.usesSemaphore:
|
||||
signal(fv.cv)
|
||||
|
||||
proc awaitAndThen*[T](fv: FlowVar[T]; action: proc (x: T) {.closure.}) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue