xapi.util.api.RemovalHandler |
AsyncCondition.await(xapi.util.api.SuccessHandler<xapi.util.api.Pair<AsyncLock,AsyncCondition>> onAcquire)
Waits indefinitely for the given condition.
|
xapi.util.api.RemovalHandler |
AsyncCondition.awaitWithDeadline(xapi.util.api.SuccessHandler<xapi.util.api.Pair<AsyncLock,AsyncCondition>> onAcquire,
float millisToWait)
The same rules as AsyncCondition.await(SuccessHandler), but with a millisecond
timeout that will share a notification pool, so a minimum of threads
are needed to simply check deadlines and cancel / notify / continue.
|
xapi.util.api.RemovalHandler |
AsyncLock.lock(xapi.util.api.SuccessHandler<AsyncLock> onLocked) |