ExamVeda
Login
Home
31
Which of the following is not a synchronization mechanism in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
32
What does the term "thread-safe" mean in the context of multi-threading?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
33
What is the primary purpose of a mutex in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
34
Which of the following is true about a condition variable in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
35
What is a deadlock in the context of multi-threading?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
36
Which C++11 feature introduced support for multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
37
What is the difference between std::mutex and std::recursive_mutex in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
38
Which of the following is not a potential issue in multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
39
What is the purpose of the 'std::this_thread::sleep_for' function in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
40
What is the primary difference between a std::mutex and a std::spinlock in C++ multi-threading?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board