Counter for current instance in queue.
Indicates the locked/unlocked state.
Counter for current amount of instances in a queue.
Public getter for testing purposes.
Lock an atomic lock.
Usage
// Lock
exampleAtomicLock.lock();
Resolves when lock succeeds
Release atomic lock
Usage
// Release exampleAtomicLock.release();
Generated using TypeDoc
Creates an instance of AtomicLock. Single thread only, queue present.