Searched refs:ThreadPoolWorker (Results 1 – 2 of 2) sorted by relevance
36 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() function in art::ThreadPoolWorker57 ThreadPoolWorker::~ThreadPoolWorker() { in ~ThreadPoolWorker()61 void ThreadPoolWorker::SetPthreadPriority(int priority) { in SetPthreadPriority()74 void ThreadPoolWorker::Run() { in Run()84 void* ThreadPoolWorker::Callback(void* arg) { in Callback()85 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback()126 new ThreadPoolWorker(this, worker_name, ThreadPoolWorker::kDefaultStackSize)); in ThreadPool()236 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()
51 class ThreadPoolWorker {60 virtual ~ThreadPoolWorker();66 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);77 DISALLOW_COPY_AND_ASSIGN(ThreadPoolWorker);143 std::vector<ThreadPoolWorker*> threads_;151 friend class ThreadPoolWorker;