mardi 17 mai 2022

C++11 delay the execution of thread

I'd like to crate some threads (with c++11) and collect them in a 'vector'. Then I'd like to fire them up, not immediately upon construction of the associated thread object, but after specified time. And this is my problem, how can I delay the execution of thread?

It is possible to do something like that? I appreciate any hints.

Aucun commentaire:

Enregistrer un commentaire