home page ->
teaching ->
parallel and distributed programming ->
sem 1 - Simple mutual exclusion
Seminary 1 - Simple mutual exclusion
Consider the problem of transferring money from one account to another (lab 1 pb 2)
- examples of what could happen without any synchronization;
- simple implementation using mutexes;
- adding an audit() function;
- avoiding deadlocks through ordering the mutexes;
- using atomic integers;
Radu-Lucian LUPŞA
2019-11-18