Searched refs:ThreadPoolWorker (Results 1 – 5 of 5) sorted by relevance
49 ThreadPoolWorker::ThreadPoolWorker(AbstractThreadPool* thread_pool, in ThreadPoolWorker() function in art::ThreadPoolWorker85 ThreadPoolWorker::~ThreadPoolWorker() { in ~ThreadPoolWorker()102 void ThreadPoolWorker::SetPthreadPriority(int priority) { in SetPthreadPriority()110 int ThreadPoolWorker::GetPthreadPriority() { in GetPthreadPriority()118 void ThreadPoolWorker::Run() { in Run()128 void* ThreadPoolWorker::Callback(void* arg) { in Callback()129 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback()223 new ThreadPoolWorker(this, worker_name, worker_stack_size_)); in CreateThreads()232 const std::vector<ThreadPoolWorker*>& AbstractThreadPool::GetWorkers() { in GetWorkers()350 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()[all …]
76 class ThreadPoolWorker {85 virtual ~ThreadPoolWorker();96 ThreadPoolWorker(AbstractThreadPool* thread_pool, const std::string& name, size_t stack_size);108 DISALLOW_COPY_AND_ASSIGN(ThreadPoolWorker);119 EXPORT const std::vector<ThreadPoolWorker*>& GetWorkers();199 std::vector<ThreadPoolWorker*> threads_;209 friend class ThreadPoolWorker;224 size_t worker_stack_size = ThreadPoolWorker::kDefaultStackSize) {
142 /* worker_stack_size= */ ThreadPoolWorker::kDefaultStackSize) {} in TraceWriterThreadPool()
118 size_t worker_stack_size = ThreadPoolWorker::kDefaultStackSize) {
1936 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()1958 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()