2016-01-25 37 views

回答

2

您可以使用Java執行人框架得到子線程。

例子:

ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newCachedThreadPool();