26package jau.test.util.parallel.locks;
100 void addOwner(Thread t)
throws RuntimeException, IllegalArgumentException;
115 void removeOwner(Thread t)
throws RuntimeException, IllegalArgumentException;
135 void unlock(Runnable taskAfterUnlockBeforeNotify);
Reentrance capable locking toolkit.
Reentrance capable locking toolkit, supporting multiple threads as owner.
void removeOwner(Thread t)
Remove a thread from the list of additional lock owner threads.
boolean isOriginalOwner(Thread thread)
Returns true if the passed thread is the original lock owner, ie.
boolean isOriginalOwner()
Returns true if the current thread is the original lock owner, ie.
void addOwner(Thread t)
Add a thread to the list of additional lock owners, which enables them to recursively claim this lock...