LocalSemaphore class
Local semaphore is a unnamed semaphore with a specified count of max permits.
Constructors
- LocalSemaphore(int maxCount)
Properties
Methods
-
acquire(
) → Future -
Acquires a permit from this semaphore, asyncronously blocking until one is
available.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void -
Releases a permit, returning it to the semaphore.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited