Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 369 Bytes

File metadata and controls

15 lines (12 loc) · 369 Bytes

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