1
0
mirror of synced 2025-04-26 14:28:51 +03:00
cpp-httplib/example/1000-concurrency-result/check-hardware-concurrency-count.cc
2020-03-21 15:49:26 +00:00

7 lines
133 B
C++

#include <thread>
#include <iostream>
using namespace std;
int main(void) {
cout << std::thread::hardware_concurrency() << endl;
}