Last active
January 25, 2021 21:26
-
-
Save r7vme/c6e419d0721a49ec969a5a892d0854a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool is_multicore_system(void) { | |
return (get_nprocs_conf() > 1) ? true : false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment