Home | History | Annotate | Download | only in runtime

Lines Matching refs:Thread

65   // Returns the number of threads in the thread pool.
71 void StartWorkers(Thread* self);
74 void StopWorkers(Thread* self);
78 void AddTask(Thread* self, Task* task);
84 void Wait(Thread* self, bool do_work, bool may_hold_locks);
86 size_t GetTaskCount(Thread* self);
94 // thread count of the thread pool.
99 virtual Task* GetTask(Thread* self);
102 Task* TryGetTask(Thread* self);
103 Task* TryGetTaskLocked(Thread* self) EXCLUSIVE_LOCKS_REQUIRED(task_queue_lock_);
140 virtual void StealFrom(Thread* self, WorkStealingTask* source) = 0;
175 // Which thread we are stealing from (round robin).
179 WorkStealingTask* FindTaskToStealFrom(Thread* self) EXCLUSIVE_LOCKS_REQUIRED(work_steal_lock_);