com.jogamp.common.util.locks
Interface RecursiveLock
- All Superinterfaces:
- Lock, LockExt
public interface RecursiveLock
- extends LockExt
Reentrance locking toolkit, impl a complete fair FIFO scheduler
TRACE_LOCK
static final boolean TRACE_LOCK
getHoldCount
int getHoldCount()
- Return the number of locks issued to this lock by the same thread.
A hold count of 0 identifies this lock as unlocked.
A hold count of 1 identifies this lock as locked.
A hold count of > 1 identifies this lock as recursively lock.
getQueueLength
int getQueueLength()