Searched refs:task_queue_lock_ (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | thread_pool.h | 118 void StartWorkers(Thread* self) REQUIRES(!task_queue_lock_); 121 void StopWorkers(Thread* self) REQUIRES(!task_queue_lock_); 125 void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_); 128 void RemoveAllTasks(Thread* self) REQUIRES(!task_queue_lock_); 150 void Wait(Thread* self, bool do_work, bool may_hold_locks) REQUIRES(!task_queue_lock_); 152 size_t GetTaskCount(Thread* self) REQUIRES(!task_queue_lock_); 161 void SetMaxActiveWorkers(size_t threads) REQUIRES(!task_queue_lock_); 171 virtual Task* GetTask(Thread* self) REQUIRES(!task_queue_lock_); 174 Task* TryGetTask(Thread* self) REQUIRES(!task_queue_lock_); 175 Task* TryGetTaskLocked() REQUIRES(task_queue_lock_); [all …]
|
D | thread_pool.cc | 114 MutexLock mu(self, task_queue_lock_); in AddTask() 123 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks() 132 task_queue_lock_("task queue lock"), in ThreadPool() 133 task_queue_condition_("task queue condition", task_queue_lock_), in ThreadPool() 134 completion_condition_("task completion condition", task_queue_lock_), in ThreadPool() 151 MutexLock mu(self, task_queue_lock_); in CreateThreads() 177 MutexLock mu(self, task_queue_lock_); in DeleteThreads() 191 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers() 201 MutexLock mu(self, task_queue_lock_); in StartWorkers() 209 MutexLock mu(self, task_queue_lock_); in StopWorkers() [all …]
|