Home
last modified time | relevance | path

Searched refs:DynamicThreadPool (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/cpp/server/
Ddynamic_thread_pool.cc29 DynamicThreadPool::DynamicThread::DynamicThread(DynamicThreadPool* pool) in 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()
53 void DynamicThreadPool::ThreadFunc() { in ThreadFunc()
79 DynamicThreadPool::DynamicThreadPool(int reserve_threads) in DynamicThreadPool() function in grpc::DynamicThreadPool
91 void DynamicThreadPool::ReapThreads(std::list<DynamicThread*>* tlist) { in ReapThreads()
97 DynamicThreadPool::~DynamicThreadPool() { in ~DynamicThreadPool()
107 void DynamicThreadPool::Add(const std::function<void()>& callback) { in Add()
Ddynamic_thread_pool.h35 class DynamicThreadPool final : public ThreadPoolInterface {
37 explicit DynamicThreadPool(int reserve_threads);
38 ~DynamicThreadPool();
45 DynamicThread(DynamicThreadPool* pool);
49 DynamicThreadPool* pool_;
Dcreate_default_thread_pool.cc31 return new DynamicThreadPool(cores); in CreateDefaultThreadPoolImpl()