Click here to Skip to main content
15,867,771 members
Articles / Programming Languages / C++

Producer/Consumer Queues in C++

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
4 Oct 2020MIT5 min read 25.4K   401   6  
A simple implementation for producer/consumer mechanism
This article describes a 'plain' C++ implementation of producer/consumers queues and shows the inner workings of this synchronization mechanism.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Canada Canada
Mircea is the embodiment of OOP: Old, Opinionated Programmer. With more years of experience than he likes to admit, he is always opened to new things, but too bruised to follow any passing fad.

Lately, he hangs around here, hoping that some of the things he learned can be useful to others.

Comments and Discussions