Examveda

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

D. Thread safety guarantees that threads execute in parallel

Answer: Option C


Join The Discussion

Related Questions on Multi threading in C plus plus

What is multi-threading in C++?

A. A process that allows parallel execution of tasks

B. A process that allows a single thread to execute

C. A process that allows multiple processes to execute concurrently

D. A process that allows multiple threads to execute concurrently