Searched refs:SafeGetTid (Results 1 – 2 of 2) sorted by relevance
/art/runtime/base/ |
D | mutex-inl.h | 51 static inline pid_t SafeGetTid(const Thread* self) { in SafeGetTid() function 229 bool result = (GetExclusiveOwnerTid() == SafeGetTid(self)); in IsExclusiveHeld() 259 bool result = (GetExclusiveOwnerTid() == SafeGetTid(self)); in IsExclusiveHeld()
|
D | mutex.cc | 374 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in ExclusiveLock() 401 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveLock() 441 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveTryLock() 584 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in ExclusiveLock() 604 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveLock() 663 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in ExclusiveLockWithTimeout() 694 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveLockWithTimeout() 704 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in HandleSharedLockContention() 834 DCHECK_EQ(guard_.GetExclusiveOwnerTid(), SafeGetTid(self)); in Broadcast()
|