Constructor and Description |
---|
Monitor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
await()
Wait for a broadcast.
|
abstract void |
broadcast()
Send a broadcast.
|
abstract void |
lock()
Block until the lock is acquired.
|
abstract void |
unlock()
Release the lock.
|