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

https://github.com/sameetasadullah/producer-consumer-problem-using-semaphores

C++ code to solve producer consumer problem using threads and semaphores
https://github.com/sameetasadullah/producer-consumer-problem-using-semaphores

cpp linux producer-consumer-problem semaphores threads ubuntu

Last synced: 3 months ago
JSON representation

C++ code to solve producer consumer problem using threads and semaphores

Awesome Lists containing this project

README

        

Producer Consumer Problem Using Semaphores

### Description
A simple `C++ Program` to solve `Producer Consumer Problem` using `Threads and Semaphores`.

### Manual
1) Use the following command to `Compile the code`:
```
g++ -pthread -o a.out main.cpp
```

2) Use following commands to `Run the Code`:
```
./a.out
```