Home
last modified time | relevance | path

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

/hardware/google/aemu/base/include/aemu/base/threads/
DThreadPool.h66 class ThreadPool {
67 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
90 ThreadPool(int threads, Fn&& processor) : mProcessor() { in ThreadPool() function
112 explicit ThreadPool(Processor&& processor) in ThreadPool() function
113 : ThreadPool(0, std::move(processor)) {} in ThreadPool()
114 ~ThreadPool() { in ~ThreadPool()
/hardware/google/gfxstream/host/
DSyncThread.h126 using ThreadPool = android::base::ThreadPool<Command>; variable
141 void doSyncThreadCmd(Command&& command, ThreadPool::WorkerId);
158 ThreadPool mWorkerThreadPool;
DSyncThread.cpp114 [this](Command&& command, ThreadPool::WorkerId id) { in SyncThread()