GitHunt
ME

Mes0903/Producer-Consumer-Problem

The implementation of Producer-Consumer Problem on Windows.

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

Languages

C++100.0%

Contributors

Created October 10, 2022
Updated October 13, 2022