com.jogamp.common.util.locks
Class LockFactory
java.lang.Object
com.jogamp.common.util.locks.LockFactory
public class LockFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockFactory
public LockFactory()
createRecursiveLock
public static RecursiveLock createRecursiveLock()
- default is ImplType.Int01, unfair'ish (fastest w/ least deviation)
createRecursiveThreadGroupLock
public static RecursiveThreadGroupLock createRecursiveThreadGroupLock()
- default is ImplType.Int02ThreadGroup, unfair'ish (fastest w/ least deviation)
createRecursiveLock
public static RecursiveLock createRecursiveLock(LockFactory.ImplType t,
boolean fair)