Let's say that some thread has std::thread::id myId of some other thread. Now I want to retrieve the std::thread associated with myId so I can .join() it. Is it possible? Or do I have to track it manually?
std::thread::id myId
std::thread
myId
.join()
Aucun commentaire:
Enregistrer un commentaire