Changeset 38 for trunk/CrossPare/src/de/ugoe/cs/cpdp/Runner.java
- Timestamp:
- 06/11/15 11:27:33 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/Runner.java
r32 r38 26 26 public static void main(String[] args) { 27 27 new TextConsole(Level.FINE); 28 final int concurrentThreads = Runtime.getRuntime().availableProcessors() ;28 final int concurrentThreads = Runtime.getRuntime().availableProcessors()-2; 29 29 final ExecutorService threadPool = Executors.newFixedThreadPool(concurrentThreads); 30 30 for( String arg : args ) {
Note: See TracChangeset
for help on using the changeset viewer.