Searched refs:mProcessor (Results 1 – 2 of 2) sorted by relevance
90 ThreadPool(int threads, Fn&& processor) : mProcessor() { in ThreadPool()92 mProcessor = std::move(processor); in ThreadPool()95 mProcessor = std::bind(std::move(processor), _1); in ThreadPool()107 mProcessor(std::move(command.mItem), command.mWorkerId); in ThreadPool()185 Processor mProcessor;
76 : mProcessor(std::move(processor)), mThread([this]() { worker(); }) { in WorkerThread()152 shouldStop = mProcessor(std::move(item.mWorkItem.value())) == Result::Stop; in worker()176 Processor mProcessor; variable