Base class for {Mutex} and {Semaphore} @api private
Enter critical section (blocking)
@api public @param [Number] timeout Maximum time to wait @param [Number] wait Sleep time between tries to acquire lock @return [Boolean] true if the lock was aquired
Leave critical section
@api public
Alias for enter
Is the lock acquired?
Synchronize block
@api public @yieldparam Synchronized block @return [Object] result of block
Try to enter critical section (nonblocking)
@api public @return [Boolean] true if the lock was acquired
Alias for try_enter
Alias for leave
[Validate]