I was wondering if we could set the priority for a thread during std::thread construction. As long as I have seen from the CppReference, I do not find any constructor to set priority. If so, then how do I set the priority in platforms like Windows and Unix.
Do we have a better/unified way to set the priority?
Aucun commentaire:
Enregistrer un commentaire