Click here to Skip to main content
15,868,016 members
Articles / General Programming / Messaging

A Thread Pooling and Task Queuing Demonstration Using Message Passing

Rate me:
Please Sign up or sign in to vote.
4.47/5 (9 votes)
15 Jul 2020MIT14 min read 10.9K   365   14  
How to implement a complicated multithreaded message passing scenario
This article presents one scenario for queuing work among a pool of threads and reporting progress using message passing. It uses a raw approach rather than using ThreadPool and Task in order that we can explore the concepts.

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
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions