Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/muaazsaleem/producer_consumer_problem

A solution to the Producer Consumer Problem
https://github.com/muaazsaleem/producer_consumer_problem

Last synced: 23 days ago
JSON representation

A solution to the Producer Consumer Problem

Awesome Lists containing this project

README

        

##A Solution to the Producer Consumer Problem
This is a c/c++ solution of the Producer Consumer Problem I did for my Operating Systems Course.

##Instruction to Compile (Linux)
When You're in this Directory

Compile:-

gcc main.c -pthread -o output [DO NOT USE G++]

Run:-

./output : SleepTime :No.of Producer Threads :No.of Consumer Threads