示例#1
0
文件: main.cpp 项目: zhoudayang/wheel
void worker2(){
    printf("worker 2 begin to work\n");
    sleep(2);
    count.countDown();
    printf("worker 2 complete work\n");
}
void testCountDownFunc(CountDownLatch& latch) { latch.countDown(); }