Searched refs:DynamicThread (Results 1 – 2 of 2) sorted by relevance
29 DynamicThreadPool::DynamicThread::DynamicThread(DynamicThreadPool* pool) in DynamicThread() function in grpc::DynamicThreadPool::DynamicThread33 static_cast<DynamicThreadPool::DynamicThread*>(th)->ThreadFunc(); in DynamicThread()38 DynamicThreadPool::DynamicThread::~DynamicThread() { thd_.Join(); } in ~DynamicThread()40 void DynamicThreadPool::DynamicThread::ThreadFunc() { in ThreadFunc()87 new DynamicThread(this); in DynamicThreadPool()91 void DynamicThreadPool::ReapThreads(std::list<DynamicThread*>* tlist) { in ReapThreads()115 new DynamicThread(this); in Add()
43 class DynamicThread {45 DynamicThread(DynamicThreadPool* pool);46 ~DynamicThread();61 std::list<DynamicThread*> dead_threads_;64 static void ReapThreads(std::list<DynamicThread*>* tlist);