lundi 27 mars 2017

How to get thread object by id?

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?

Aucun commentaire:

Enregistrer un commentaire