Q27
What is the purpose of the 'std::atomic_flag' class in C++ multi-threading?
A.
To manage thread priorities
B.
To synchronize the execution of threads
C.
To provide atomic access to a boolean flag
AnswerD.
To provide mutual exclusion
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board