Home | History | Annotate | Download | only in runtime

Lines Matching refs:thread_pool

17 #include "thread_pool.h"
28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
30 : thread_pool_(thread_pool),
198 WorkStealingWorker::WorkStealingWorker(ThreadPool* thread_pool, const std::string& name,
200 : ThreadPoolWorker(thread_pool, name, stack_size), task_(NULL) {}
205 WorkStealingThreadPool* thread_pool = down_cast<WorkStealingThreadPool*>(thread_pool_);
211 MutexLock mu(self, thread_pool->work_steal_lock_);
227 while (thread_pool->GetTaskCount(self) == 0) {
231 MutexLock mu(self, thread_pool->work_steal_lock_);
233 steal_from_task = thread_pool->FindTaskToStealFrom(self);
249 MutexLock mu(self, thread_pool->work_steal_lock_);
260 MutexLock mu(self, thread_pool->work_steal_lock_);