ExamVeda
Login
Home
11
What is the purpose of the 'std::condition_variable' class in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
12
Which of the following is true about thread safety in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
13
What is the purpose of the 'std::atomic' class in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
14
Which of the following is used to implement a barrier in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
15
What is the purpose of the 'std::async' function in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
16
Which of the following is a thread management library in C++?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
17
What is the purpose of the 'std::lock_guard' class in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
18
What is the purpose of the 'std::unique_lock' class in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
19
What is the purpose of the 'std::condition_variable_any' class in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
20
What is the purpose of the 'std::packaged_task' class in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board