This project contains C++ implementations of classic concurrency and synchronization problems. Done in a Linux virtual box.
For my operating systems class. In colaboration with Shuban Srikantha.
- Bank (a): Basic bank thread interaction
- Bank (b): Extended bank simulation with more complex behavior
- Bounded Buffer: Producer-consumer problem using a circular buffer
- Bridge: Simulates synchronized crossing on a one-lane bridge (mutual exclusion)
- C++11/17
- POSIX Threads /
std::thread - Mutexes and Condition Variables
Bank_A.cpp: Implements Bank Problem ABank_B.cpp: Implements Bank Problem BBounded_Buffer.cpp: Producer-Consumer using bounded bufferBridge.cpp: Synchronization problem simulating bridge traffic