Changeset 14624 in josm for trunk/src/org/openstreetmap/josm/data/imagery
- Timestamp:
- 2018-12-31T19:36:59+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java
r14261 r14624 78 78 */ 79 79 public static ThreadPoolExecutor getNewThreadPoolExecutor(String nameFormat, int workers, int hostLimit) { 80 ThreadPoolExecutor executor =new ThreadPoolExecutor(80 return new ThreadPoolExecutor( 81 81 workers, // keep core pool the same size as max, as we use unbounded queue so there will 82 82 workers, // be never more threads than corePoolSize … … 86 86 Utils.newThreadFactory(nameFormat, Thread.NORM_PRIORITY) 87 87 ); 88 return executor;89 88 } 90 89
Note:
See TracChangeset
for help on using the changeset viewer.