Try condition_variable using C++Builder(C++11).
August 12, 2017
Author: h.mohri
std::condition_variable is a class for waiting for thread execution until the condition is satisfied.Used in combination with std::mutex.
I tried the wait() function in std::condition_variable.This is combined withstd::unique_lock<std::mutex>.
I thought of the following specifications.As shown in the figure, create multiple threads.All threads are in Wait state.Then let…