• Y
    Implement a simple threadpool (#6684) · 127bc2e0
    Yancey 提交于
    * implement a simple threadpool
    
    * unlock before cv.notify
    
    * add done function
    
    * add lock with GetAvailable function
    
    * delete done_
    
    * using call_once in GetInstance
    
    * update by comment
    
    * update comment
    
    * enhance unit test for multi threads task
    127bc2e0
threadpool_test.cc 1.7 KB