I'm new with multi-threading and I need to know when exactly do I need to join my thread not to detach it. what are the factors I need to take in consideration to know that the thread is "must to join" ?
Asked
Active
Viewed 483 times
1 Answers
2
- Use join if you want to wait block until the thread completes.
- Use detach if want let the thread to run independently.
You can also look at these answers

Community
- 1
- 1

Ryan T. Grimm
- 1,307
- 1
- 9
- 17