dimanche 10 novembre 2019

how to generate many threads by std::thread?

As we all known, we can generate one thread by std::thread t1(func); link But how can we create 20 threads by vector?

Aucun commentaire:

Enregistrer un commentaire