Static methods

@:noExprstaticdestroy(this:Semaphore):Void

Cleans up a semaphore.

@:noExprstaticinit(value:Int):Result<Semaphore>

Allocates and initializes a read-write lock.

@:noExprstaticpost(this:Semaphore):Void

Increments a semaphore.

@:noExprstatictryWait(this:Semaphore):Result<NoData>

Tries to decrement a semaphore without blocking.

@:noExprstaticwait(this:Semaphore):Void

Decrements a semaphore.