Conditions
What we have so far not quite enough
In addition, there’s a new variable type called a condition
Two operations on a condition:
- Wait, which suspends the calling thread
- Signal, which resumes zero or one threads waiting for the condition
- If no one is waiting, the signal is lost forever
- Different from V(), which always had an effect