Lines Matching refs:lock_
57 void AddTask(Thread* self, HeapTask* task) REQUIRES(!lock_);
58 HeapTask* GetTask(Thread* self) REQUIRES(!lock_);
59 void Start(Thread* self) REQUIRES(!lock_);
62 void Stop(Thread* self) REQUIRES(!lock_);
63 void RunAllTasks(Thread* self) REQUIRES(!lock_);
64 bool IsRunning() const REQUIRES(!lock_);
66 REQUIRES(!lock_);
67 Thread* GetRunningThread() const REQUIRES(!lock_);
77 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
78 ConditionVariable cond_ GUARDED_BY(lock_);
79 bool is_running_ GUARDED_BY(lock_);
80 std::multiset<HeapTask*, CompareByTargetRunTime> tasks_ GUARDED_BY(lock_);
81 Thread* running_thread_ GUARDED_BY(lock_);