Parallel Programming WS 2014/2015 - Slide 25
Objectives:
Example for a monitor class in Java
In the lecture:
Explain
- changes of the waiting condition;
- why using notifyAll;
- the state transitions of notifyAll in the get-Operation;
Questions:
- In which states can a buffer be with respect to the two waiting conditions?
- What can one conclude if several processes are waiting?
- Explain in detail what happens if notifyAll() is executed when several processes are waiting.
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 09.10.2014