Q34
Which of the following is true about a condition variable in C++ multi-threading?
A.
It allows multiple threads to share the same memory location
B.
It provides mutual exclusion
C.
It provides atomic access to shared variables
D.
It allows one thread to notify other threads about a condition
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board