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.
os.getnumcpus
1 parent e554d8f commit 0eaee5cCopy full SHA for 0eaee5c
src/host/os_getnumcpus.c
@@ -48,7 +48,7 @@ int do_getnumcpus()
48
{
49
return 0;
50
}
51
-#elif PLATFORM_SOLARIS | PLATFORM_AIX | PLATFORM_MACOSX | PLATFORM_BSD
+#elif PLATFORM_SOLARIS | PLATFORM_AIX | PLATFORM_MACOSX | PLATFORM_BSD | PLATFORM_HURD
52
return sysconf(_SC_NPROCESSORS_ONLN);
53
#else
54
#warning do_getnumcpus is not implemented for your platform yet
0 commit comments