線程之join()

傳送門:http://www.javashuo.com/article/p-cgoymaxb-ga.html(本篇文章部分摘自這裏) join()是Thread類的一個方法。根據jdk文檔的定義: public final void join()throws InterruptedException: Waits for this thread to die. join()方法的作用,是等待這
相關文章
相關標籤/搜索