What is the correct way in the post C++11 world for setting the priority of an instance of std::thread
Is there a portable way of doing this that works at least in Windows and POSIX (Linux) environments?
Or is it a matter of getting a handle and using whatever native calls are available for the particular OS?
See Question&Answers more detail:os