Q39
What is the purpose of the 'std::this_thread::sleep_for' function in C++ multi-threading?
A.
To block the execution of a thread
B.
To synchronize the execution of threads
C.
To terminate the current thread
D.
To make the current thread sleep for a specified duration
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board