Searched refs:ThreadPoolWorker (Results 1 - 2 of 2) sorted by relevance

/art/runtime/
H A Dthread_pool.cc28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, function in class:art::ThreadPoolWorker
41 ThreadPoolWorker::~ThreadPoolWorker() {
45 void ThreadPoolWorker::Run() {
55 void* ThreadPoolWorker::Callback(void* arg) {
56 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg);
89 threads_.push_back(new ThreadPoolWorker(this, name, ThreadPoolWorker
[all...]
H A Dthread_pool.h38 class ThreadPoolWorker { class in namespace:art
46 virtual ~ThreadPoolWorker();
49 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
60 DISALLOW_COPY_AND_ASSIGN(ThreadPoolWorker);
119 std::vector<ThreadPoolWorker*> threads_;
127 friend class ThreadPoolWorker;
149 class WorkStealingWorker : public ThreadPoolWorker {

Completed in 190 milliseconds