Searched refs:task_queue_lock_ (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | thread_pool.h | 96 void StartWorkers(Thread* self) REQUIRES(!task_queue_lock_); 99 void StopWorkers(Thread* self) REQUIRES(!task_queue_lock_); 103 void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_); 106 void RemoveAllTasks(Thread* self) REQUIRES(!task_queue_lock_); 119 void Wait(Thread* self, bool do_work, bool may_hold_locks) REQUIRES(!task_queue_lock_); 121 size_t GetTaskCount(Thread* self) REQUIRES(!task_queue_lock_); 130 void SetMaxActiveWorkers(size_t threads) REQUIRES(!task_queue_lock_); 137 virtual Task* GetTask(Thread* self) REQUIRES(!task_queue_lock_); 140 Task* TryGetTask(Thread* self) REQUIRES(!task_queue_lock_); 141 Task* TryGetTaskLocked() REQUIRES(task_queue_lock_); [all …]
|
D | thread_pool.cc | 110 MutexLock mu(self, task_queue_lock_); in AddTask() 119 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks() 125 task_queue_lock_("task queue lock"), in ThreadPool() 126 task_queue_condition_("task queue condition", task_queue_lock_), in ThreadPool() 127 completion_condition_("task completion condition", task_queue_lock_), in ThreadPool() 149 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers() 157 MutexLock mu(self, task_queue_lock_); in ~ThreadPool() 169 MutexLock mu(self, task_queue_lock_); in StartWorkers() 177 MutexLock mu(self, task_queue_lock_); in StopWorkers() 182 MutexLock mu(self, task_queue_lock_); in GetTask() [all …]
|