ConditionVariableExample -- distinguishing which
thread to wake up by simulating condition variables.
Experiment:
- Press the notifyAll button several times.
- Press the notify button several times.
- Press the "Get" buttons.
- Press the buttons in any order and try to make sense of all
you see.
The source.