public interface Signal extends InterruptibleAwaitingThreads
This class follows DbC(tm) methodology
(Wikipedia).
Where possible, contracts are implement with native's Java
assert.
Modifier and Type | Method and Description |
---|---|
void |
await()
Waiting to be signaled (receiver).
|
void |
send()
Signaling (sender).
|
interruptWaitingThreads, registerAwaitingThreads
void send()
void await() throws ThreadInterruptedException
ThreadInterruptedException