com.jogamp.common.util.locks
Interface LockExt

All Superinterfaces:
Lock
All Known Implementing Classes:
RecursiveLock

public interface LockExt
extends Lock

Extending the Lock features with convenient functionality.


Field Summary
 
Fields inherited from interface com.jogamp.common.util.locks.Lock
DEBUG, DEFAULT_TIMEOUT, TIMEOUT
 
Method Summary
 Thread getOwner()
           
 boolean isLockedByOtherThread()
           
 boolean isOwner()
           
 boolean isOwner(Thread thread)
           
 void validateLocked()
           
 
Methods inherited from interface com.jogamp.common.util.locks.Lock
isLocked, lock, tryLock, unlock
 

Method Detail

getOwner

Thread getOwner()
Returns:
the Thread owning this lock if locked, otherwise null

isLockedByOtherThread

boolean isLockedByOtherThread()

isOwner

boolean isOwner()

isOwner

boolean isOwner(Thread thread)

validateLocked

void validateLocked()