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

https://github.com/mes0903/producer-consumer-problem

The implementation of Producer-Consumer Problem on Windows.
https://github.com/mes0903/producer-consumer-problem

cpp producer-consumer-problem

Last synced: 6 months ago
JSON representation

The implementation of Producer-Consumer Problem on Windows.

Awesome Lists containing this project

README

          

# Producer Consumer Problem Sample

This is a implementation of Producer-Consumer Problem made by C++ and Winapi.

The code use ring buffer to implement the buffer, use the Semaphore and Mutex to solve the race condition.

There are lot of example on Linux but seldom exist example on Windows, so I write an implementation on Windows.

demo video: https://www.youtube.com/watch?v=I1nM207KStg