Parallel Programming WS 2014/2015 - Slide 61
Objectives:
Understand the channel implementation
In the lecture:
- explain the mutual exclusion;
- explain why the result of need not be up to date - even if Channel.empty would be synchronized;
- argue why notify() is sufficient, but a wait loop is needed.
Questions:
- Where do you know this synchronization pattern from?
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 09.10.2014