diff options
author | LIU Hao <lh_mouse@126.com> | 2022-10-02 00:57:08 +0800 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2022-10-19 14:05:33 +0000 |
commit | 47684e58edc92ffdd4c636dbd34359b4c22e863a (patch) | |
tree | 6c5ecfca0ce9ec2f555061f82a6b7dd59b5e0058 /gcc | |
parent | d32969898e113e86e1c42b0c6f096f8228cbf1ff (diff) | |
download | gcc-47684e58edc92ffdd4c636dbd34359b4c22e863a.zip gcc-47684e58edc92ffdd4c636dbd34359b4c22e863a.tar.gz gcc-47684e58edc92ffdd4c636dbd34359b4c22e863a.tar.bz2 |
libstdc++/thread: Implement `_GLIBCXX_NPROCS` for Windows
This makes `std::thread::hardware_concurrency()` return the number of
logical processors, instead of zero.
libstdc++-v3/ChangeLog:
* src/c++11/thread.cc (get_nprocs): Add new implementation
for native Windows targets
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions