Vidyalelo
C++ Programming · Q8

Multi threading in C++

Programming · C++ Programming · question 8

Q8

What is the purpose of the 'std::mutex' class in C++ multi-threading?

A.
To manage thread priorities
B.
To synchronize thread execution
C.
To notify waiting threads
D.
To provide mutual exclusion
Answer

Answer: Option D

Solution

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