Home
last modified time | relevance | path

Searched refs:task_queue_lock_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dthread_pool.h118 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 …]
Dthread_pool.cc133 MutexLock mu(self, task_queue_lock_); in AddTask()
148 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
157 task_queue_lock_("task queue lock"), in ThreadPool()
158 task_queue_condition_("task queue condition", task_queue_lock_), in ThreadPool()
159 completion_condition_("task completion condition", task_queue_lock_), in ThreadPool()
176 MutexLock mu(self, task_queue_lock_); in CreateThreads()
202 MutexLock mu(self, task_queue_lock_); in DeleteThreads()
216 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
227 MutexLock mu(self, task_queue_lock_); in StartWorkers()
235 MutexLock mu(self, task_queue_lock_); in StopWorkers()
[all …]