POSIX Threads
- We discussed synchronization in shared-memory parallel programming.
More specifically, we focused on reasons for synchronizing threads
and mechanisms for synchronizing threads. We explained potential
races conditions which may violate execution correctness and
justified the need for atomic RMW (read-modify-write) instructions
in hardware. We also covered mutex locks, which is a high-level
construct for guaranteeing atomicity of execution in arbitrary
pieces of code.
CS 4234,
Dimitris Nikolopoulos,
latest update: