Searched refs:ThreadPool (Results 1 – 3 of 3) sorted by relevance
66 class ThreadPool {67 DISALLOW_COPY_AND_ASSIGN(ThreadPool);90 ThreadPool(int threads, Fn&& processor) : mProcessor() { in ThreadPool() function112 explicit ThreadPool(Processor&& processor) in ThreadPool() function113 : ThreadPool(0, std::move(processor)) {} in ThreadPool()114 ~ThreadPool() { in ~ThreadPool()
126 using ThreadPool = android::base::ThreadPool<Command>; variable141 void doSyncThreadCmd(Command&& command, ThreadPool::WorkerId);158 ThreadPool mWorkerThreadPool;
114 [this](Command&& command, ThreadPool::WorkerId id) { in SyncThread()