Q29
What is the purpose of the 'std::barrier' class in C++ multi-threading?
A.
To synchronize the execution of threads at a specified point
AnswerB.
To execute a task asynchronously
C.
To signal waiting threads
D.
To manage thread priorities
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board