摘要: JoinsThejoinmethod allows one thread to wait for the completion of another. Iftis aThreadobject whose thread is currently executing,t.join();causes the current thread to pause execution untilt's thread terminates. Overloads ofjoinallow the programmer to specify a waiting period. However, as with 阅读全文
posted @ 2013-07-09 13:03 alexander.bruce.lee 阅读(779) 评论(0) 推荐(1)