boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
200 stars 161 forks source link

feature request: processor counts #183

Closed jmichae3 closed 6 years ago

jmichae3 commented 6 years ago

std::thread lacks GetActiveProcessorCount() and GetMaximumProcessorCount() or equivalent methods to find out how many threads or processors there are in the computer. without that information it's too easy to overload the box with too many threads and it gets really slow. group processor counts are probably needed also since that is a concern on big iron.

viboes commented 6 years ago

Why are you creating those issues in this repo?