Vidyalelo
C++ Programming · Q34

Multi threading in C++

Programming · C++ Programming · question 34

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
Answer

Answer: Option D

Solution

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