What is the purpose of the 'std::latch' class in C++ multi-threading?
A. To signal waiting threads
B. To provide mutual exclusion
C. To manage thread priorities
D. To synchronize the execution of threads until a specified count is reached
Answer: Option D

Join The Discussion