Available on macro
Semaphores.
See also:
https://aantron.github.io/luv/luv/Luv/Semaphore
staticdestroy(this:Semaphore):Void
Cleans up a semaphore.
staticinit(value:Int):Result<Semaphore>
Allocates and initializes a read-write lock.
staticpost(this:Semaphore):Void
Increments a semaphore.
statictryWait(this:Semaphore):Result<NoData>
Tries to decrement a semaphore without blocking.
staticwait(this:Semaphore):Void
Decrements a semaphore.