We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec3de9 commit c16932bCopy full SHA for c16932b
third-party/folly/src/folly/system/HardwareConcurrency.cpp
@@ -66,7 +66,7 @@ cpu_set_state::~cpu_set_state() {
66
#endif
67
68
unsigned int hardware_concurrency() noexcept {
69
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
70
cpu_set_t stackset;
71
return to_narrow(cpu_set_state::ask(&stackset).cpu_count());
72
0 commit comments