Home
last modified time | relevance | path

Searched refs:DynamicThread (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/cpp/server/
Ddynamic_thread_pool.cc29 DynamicThreadPool::DynamicThread::DynamicThread(DynamicThreadPool* pool) in DynamicThread() function in grpc::DynamicThreadPool::DynamicThread
33 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()
Ddynamic_thread_pool.h43 class DynamicThread {
45 DynamicThread(DynamicThreadPool* pool);
46 ~DynamicThread();
61 std::list<DynamicThread*> dead_threads_;
64 static void ReapThreads(std::list<DynamicThread*>* tlist);