CISC372: Threads, part 2: data races, mutexes, critical sections

What is a data-race and why do you want to avoid them? The meaning of “undefined behavior.” Pthread mutexes: creation, destruction, lock, and unlock operations. The semantics of mutexes. The critical section problem.

Slides: 14_threads2.pdf

Threads, part 2

Leave a Reply