Changeset 31177 in osm for applications/editors/josm/plugins/mapillary/src
- Timestamp:
- 2015-06-02T12:14:16+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryExportAction.java
r31176 r31177 59 59 */ 60 60 public void export(List<MapillaryImage> images) { 61 new Thread(new MapillaryExportManager(images,62 dialog.chooser.getSelectedFile().toString())) .start();61 Main.worker.submit(new Thread(new MapillaryExportManager(images, 62 dialog.chooser.getSelectedFile().toString()))); 63 63 } 64 64 -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillaryDownloader.java
r31176 r31177 46 46 url2 += buildParameters(hash); 47 47 try { 48 Main.info("MapillaryPlugin GET " + url2); 48 49 Main.worker.submit(new MapillarySquareDownloadManagerThread(url1, url2, new Bounds(minLatLon, maxLatLon))); 49 50 } catch (Exception e) { -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/downloads/MapillaryExportManager.java
r31176 r31177 56 56 Thread writer = new Thread(new MapillaryExportWriterThread(path, queue, 57 57 queueImages, images.size(), this.getProgressMonitor())); 58 Main.worker.submit(writer);58 writer.start(); 59 59 ThreadPoolExecutor ex = new ThreadPoolExecutor(20, 35, 25, 60 60 TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(10));
Note:
See TracChangeset
for help on using the changeset viewer.