Commit f3aa4a274441e103504dbf4f132159c7867a35ca
1 parent
bdbbb682
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/data/gpsdata_v2/DataHandleProcess.java
| @@ -68,7 +68,7 @@ public class DataHandleProcess { | @@ -68,7 +68,7 @@ public class DataHandleProcess { | ||
| 68 | count = new CountDownLatch(ks.size()); | 68 | count = new CountDownLatch(ks.size()); |
| 69 | 69 | ||
| 70 | for (Integer index : ks) { | 70 | for (Integer index : ks) { |
| 71 | - threadPool.submit(new SignalHandleThread(dataListMap.get(index), count)); | 71 | + threadPool.execute(new SignalHandleThread(dataListMap.get(index), count)); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | //等待子线程结束 | 74 | //等待子线程结束 |