Searched refs:ThreadPoolWorker (Results 1 – 2 of 2) sorted by relevance
29 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() function in art::ThreadPoolWorker45 ThreadPoolWorker::~ThreadPoolWorker() { in ~ThreadPoolWorker()49 void ThreadPoolWorker::Run() { in Run()59 void* ThreadPoolWorker::Callback(void* arg) { in Callback()60 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback()95 … threads_.push_back(new ThreadPoolWorker(this, worker_name, ThreadPoolWorker::kDefaultStackSize)); in ThreadPool()206 : ThreadPoolWorker(thread_pool, name, stack_size), task_(nullptr) {} in WorkStealingWorker()286 ThreadPoolWorker::kDefaultStackSize)); in WorkStealingThreadPool()
51 class ThreadPoolWorker {60 virtual ~ThreadPoolWorker();63 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);74 DISALLOW_COPY_AND_ASSIGN(ThreadPoolWorker);134 std::vector<ThreadPoolWorker*> threads_;142 friend class ThreadPoolWorker;164 class WorkStealingWorker : public ThreadPoolWorker {