(转)java并发之CountDownLatch、Semaphore和CyclicBarrier http://blog.csdn.net/yanhandle/article/details/9016329