Lines Matching refs:Thread
49 Thread* self = Thread::Current(); in Run()
68 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
90 Thread* self = Thread::Current(); in ThreadPool()
100 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
107 Thread* self = Thread::Current(); in ~ThreadPool()
119 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
127 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
132 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
164 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
169 Task* ThreadPool::TryGetTaskLocked(Thread* self) { in TryGetTaskLocked()
178 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
197 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
207 Thread* self = Thread::Current(); in Run()
287 WorkStealingTask* WorkStealingThreadPool::FindTaskToStealFrom(Thread* self) { in FindTaskToStealFrom()