主线程等待线程池所有任务完成
原文出处:http://blog.chenlb.com/2008/12/main-thread-wait-all-sub-thread-finish-task-in-thread-pool.html
当然还有其它方法。