Q20
What is the purpose of the 'std::packaged_task' class in C++ multi-threading?
A.
To execute a task asynchronously
B.
To provide mutual exclusion
C.
To manage thread priorities
D.
To package a task and its associated state
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board