Vidyalelo
C++ Programming · Q12

Multi threading in C++

Programming · C++ Programming · question 12

Q12

Which of the following is true about thread safety in C++ multi-threading?

A.
Thread safety ensures that threads do not race
B.
Thread safety ensures that threads do not deadlock
C.
Thread safety ensures that data accessed by multiple threads is synchronized
Answer
D.
Thread safety guarantees that threads execute in parallel

Answer: Option C

Solution

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