gluegen 2.3.2
com.jogamp.common.util.locks
RecursiveLock
Top
Description
Methods
com.jogamp.common.util.locks
public
Interface RecursiveLock
extends
ThreadLock
Known Direct Subinterfaces
com.
jogamp.
common.
util.
locks.
RecursiveThreadGroupLock
Known Direct Implementers
jogamp.
common.
util.
locks.
RecursiveLockImpl01CompleteFair
,
jogamp.
common.
util.
locks.
RecursiveLockImpl01Unfairish
,
jogamp.
common.
util.
locks.
RecursiveLockImplJava5
Reentrance capable locking toolkit.
Method Summary
Modifier and Type
Method and Description
public
int
getHoldCount
()
Return the number of locks issued to this lock by the same thread.
public
int
getQueueLength
()
Inherited from
com.jogamp.common.util.locks.ThreadLock
:
getOwner
isLockedByOtherThread
isOwner
unlock
validateLocked
Method Detail
getHoldCount
back to summary
public
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
back to summary
public
int
getQueueLength
()