Vidyalelo
C++ Programming · Q14

Multi threading in C++

Programming · C++ Programming · question 14

Q14

Which of the following is used to implement a barrier in C++ multi-threading?

A.
std::barrier
Answer
B.
std::mutex
C.
std::condition_variable
D.
std::atomic

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board