A B C I L N P R S U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acquire() - Method in class BSsync.Semaphore
-
Wait until a permit is available, and take one
- await() - Method in interface BSsync.Condition
-
Wait for notification.
B
- BSsync - package BSsync
C
- Condition - Interface in BSsync
-
This class implements condition variables similar to POSIX pthreads.
I
L
- lock() - Method in class BSsync.Lock
-
Acquire the mutex lock.
- Lock - Class in BSsync
-
A simple non-reentrant mutual exclusion lock.
- Lock() - Constructor for class BSsync.Lock
-
Constructor for a mutex lock.
- Lock(String) - Constructor for class BSsync.Lock
-
Constructor for a mutex lock with a given name.
N
- newCondition() - Method in class BSsync.Lock
-
Create and return a new condition variable associated with this lock.
- newCondition(String) - Method in class BSsync.Lock
-
Create and return a new condition variable associated with this lock.
P
R
S
- Semaphore - Class in BSsync
-
Base class for counting semaphores.
- Semaphore(int) - Constructor for class BSsync.Semaphore
-
Create a Semaphore with the given initial number of permits.
- Semaphore(int, String) - Constructor for class BSsync.Semaphore
-
Create a named Semaphore with the given initial number of permits.
- signal() - Method in interface BSsync.Condition
-
Notify a waiting thread.
- signalAll() - Method in interface BSsync.Condition
-
Notify all waiting threads
U
V
- verbose - Static variable in class BSsync.Lock
-
Set this variable to true for debugging output
- verbose - Static variable in class BSsync.Semaphore
-
Set this variable to true for debugging output
All Classes All Packages