27package jau.test.util.parallel.locks;
56 void unlock(Runnable taskAfterUnlockBeforeNotify);
Specifying a thread blocking lock implementation.
Extending the Lock features with convenient functionality.
void unlock(Runnable taskAfterUnlockBeforeNotify)
Execute the Runnable taskAfterUnlockBeforeNotify while holding the exclusive lock.
boolean isLockedByOtherThread()
Query whether the lock is hold by the a thread other than the current thread.
boolean isOwner(Thread thread)
Query whether the lock is hold by the given thread.