public class ViewHierarchyMutex extends Object
Constructor and Description |
---|
ViewHierarchyMutex() |
Modifier and Type | Method and Description |
---|---|
Thread |
getLockThread()
Return the thread that holds a lock on this mutex.
|
protected boolean |
isPriorityThread(Thread thread) |
boolean |
isPriorityThreadWaiting()
This method is intended to be called by the non-priority thread
that acquired the mutex to check whether there
is no priority thread (such as AWT event-notification thread)
waiting.
|
void |
lock() |
void |
unlock() |
public void lock()
public void unlock()
public boolean isPriorityThreadWaiting()
protected boolean isPriorityThread(Thread thread)
public final Thread getLockThread()