Parallel Programming WS 2014/2015 - Slide 17a
Objectives:
Motivation of the execution model
In the lecture:
- Explain the notion of atomic operations.
- Scheduling strategies are discussed later.
- Processes interfere via common, global variables.
- The desired result of a program execution may not depend on unjustified assumptions on the interleaving.
- Check all results the example may yield.
Questions:
- Which results may the example yield?
- Declare atomic statement sequences such that any interleaved execution yields the same result.
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 09.10.2014