Package org.eclipse.ui.internal
Class UILockListener.Queue
java.lang.Object
org.eclipse.ui.internal.UILockListener.Queue
- Enclosing class:
- UILockListener
The Queue is the construct that keeps track of Semaphores.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(PendingSyncExec element) Add the semaphore to the queue.remove()
Remove the next semaphore to be woken up.
-
Field Details
-
elements
-
head
protected int head -
tail
protected int tail
-
-
Constructor Details
-
Queue
public Queue()
-
-
Method Details
-
add
Add the semaphore to the queue. -
remove
Remove the next semaphore to be woken up.
-