• Home
  • Raw
  • Download

Lines Matching refs:Thread

62 class Thread;  variable
75 static void MonitorEnter(Thread* thread, mirror::Object* obj)
78 static bool MonitorExit(Thread* thread, mirror::Object* obj)
82 static void Notify(Thread* self, mirror::Object* obj)
84 static void NotifyAll(Thread* self, mirror::Object* obj)
86 static void Wait(Thread* self, mirror::Object* obj, int64_t ms, int32_t ns,
90 static void DescribeWait(std::ostream& os, const Thread* thread)
95 static mirror::Object* GetContendedMonitor(Thread* thread);
108 explicit Monitor(Thread* owner, mirror::Object* obj)
111 void AppendToWaitSet(Thread* thread) EXCLUSIVE_LOCKS_REQUIRED(monitor_lock_);
112 void RemoveFromWaitSet(Thread* thread) EXCLUSIVE_LOCKS_REQUIRED(monitor_lock_);
114 static void Inflate(Thread* self, mirror::Object* obj)
117 void LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample_percent,
121 …static void FailedUnlock(mirror::Object* obj, Thread* expected_owner, Thread* found_owner, Monitor…
125 void Lock(Thread* self) EXCLUSIVE_LOCK_FUNCTION(monitor_lock_);
126 bool Unlock(Thread* thread, bool for_wait) UNLOCK_FUNCTION(monitor_lock_);
128 void Notify(Thread* self) NO_THREAD_SAFETY_ANALYSIS;
129 void NotifyWithLock(Thread* self)
133 void NotifyAll(Thread* self) NO_THREAD_SAFETY_ANALYSIS;
139 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
141 …void WaitWithLock(Thread* self, int64_t ms, int32_t ns, bool interruptShouldThrow, ThreadState why)
156 Thread* volatile owner_;
165 Thread* wait_set_ GUARDED_BY(monitor_lock_);
206 Thread* owner;
208 std::vector<Thread*> waiters;