Skip to content

Synchronizing threads

Francisco Ruiz edited this page Sep 24, 2015 · 3 revisions

Statement

There could be dozen of ways to synchronize threads to perform some complex task. There is lot of ways to divide the full operation into smaller pieces, then every piece will be done by some thread.

Write your program to write text: Pim-pam,Pim-pam-pum,Chim-pum on the screen. You must synchronize three or more thread to write this text.

Don’t be limited to std::mutex, and take a quick tour about Ways of synchronization.

Clone this wiki locally