The project implements the producer and the consumer to solve the Producer-Consumer problem. It was created as a final project for the Operating Systems and Concurrent Programming course.
Compile with g++. Running multiple producers and consumers is allowed.
- Supports running several producers and consumers at the same time
- Uses a circular buffer of size N to support up to N concurrent processes (by default N=5)
- The ordering of items being consumed reflects production end times
The project was developed using the materials provided by PHD Cezary Sobaniec, PUT.