Available on macro
Condition variables.
See also:
https://aantron.github.io/luv/luv/Luv/Condition
@:noExprstaticbroadcast(this:Condition):Void
Signals a condition variable, waking all waiters.
@:noExprstaticdestroy(this:Condition):Void
Cleans up a condition variable.
@:noExprstaticinit():Result<Condition>
Allocates and initializes a condition variable.
@:noExprstaticsignal(this:Condition):Void
Signals a condition variable.
@:noExprstatictimedWait(this:Condition, mutex:Mutex, timeout:Int):Void
Waits on a condition variable with a timeout. The timeout is given in nanoseconds.
@:noExprstaticwait(this:Condition, mutex:Mutex):Void
Waits on a condition variable.