For example, I have two threads, t1 and t2. I want to wait for t1 or t2 to finish. Is this possible?
t1
t2
If I have a series of threads, say, a vector<thread>, how can I do it?
vector<thread>
Aucun commentaire:
Enregistrer un commentaire