Lines Matching defs:self
49 Thread* self = Thread::Current(); in Run() local
68 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
90 Thread* self = Thread::Current(); in ThreadPool() local
107 Thread* self = Thread::Current(); in ~ThreadPool() local
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() local
287 WorkStealingTask* WorkStealingThreadPool::FindTaskToStealFrom(Thread* self) { in FindTaskToStealFrom()