Implement a simple threadpool (#6684)
* 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
Showing
paddle/framework/threadpool.h
0 → 100644
想要评论请 注册 或 登录