|
| |
void signal()
- Wakes up one waiting thread.
If any threads are waiting on this condition then one is selected for
waking up. That thread must then re-acquire the lock before returning from await.
void signalAll()
- Wakes up all waiting threads.
If any threads are waiting on this condition then they are all woken up.
Each thread must re-acquire the lock before it can return from await.
|