Created
August 24, 2016 13:53
-
-
Save mezzatto/8c18c3ea68bb7e8872f21a5a776636ab to your computer and use it in GitHub Desktop.
CPUs
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
| int nthreads = Math.max(1, Runtime.getRuntime().availableProcessors() / 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment