An open API service indexing awesome lists of open source software.

https://github.com/codophobia/multi-producer-consumer-problem-simulation

Simulation of a multi producer-consumer problem in c
https://github.com/codophobia/multi-producer-consumer-problem-simulation

Last synced: 15 days ago
JSON representation

Simulation of a multi producer-consumer problem in c

Awesome Lists containing this project

README

          

# Multi Prodcuer-Consumer Problem Simulation
The producer-consumer problem is one of the classical examples of synchronization. This program simulates a multi producer-consumer problem in C++(althrough most part is c).

Compiling the program: g++ filename.cpp -pthread

Running the program: ./a.out number_of_producers number_of consumers maximum_buffer_size