Question 1
Back to Exercise
Which header must you include to use std::thread?
- A <pthread.h>
- B <thread> Correct
- C <process>
- D <async>
Correct Answer: Option B
<mutex>, <atomic>, <condition_variable> and <future> hold the other tools.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!