Searched refs:PlatformThreadRef (Results 1 – 16 of 16) sorted by relevance
51 class PlatformThreadRef {58 constexpr PlatformThreadRef() : id_(0) {} in PlatformThreadRef() function60 explicit constexpr PlatformThreadRef(RefType id) : id_(id) {} in PlatformThreadRef() function62 bool operator==(PlatformThreadRef other) const {66 bool operator!=(PlatformThreadRef other) const { return id_ != other.id_; }137 static PlatformThreadRef CurrentRef();
162 PlatformThreadRef PlatformThread::CurrentRef() { in CurrentRef()163 return PlatformThreadRef(pthread_self()); in CurrentRef()
43 mutable PlatformThreadRef thread_id_;
42 thread_id_ = PlatformThreadRef(); in DetachFromThread()
25 PlatformThreadRef CurrentThreadRef();28 bool IsThreadRefEqual(const PlatformThreadRef& a, const PlatformThreadRef& b);
25 typedef DWORD PlatformThreadRef; typedef28 typedef pthread_t PlatformThreadRef;
42 PlatformThreadRef CurrentThreadRef() { in CurrentThreadRef()50 bool IsThreadRefEqual(const PlatformThreadRef& a, const PlatformThreadRef& b) { in IsThreadRefEqual()
43 mutable PlatformThreadRef valid_thread_;
26 const PlatformThreadRef current_thread = CurrentThreadRef(); in CalledOnValidThread()
28 owning_thread_ref_ = PlatformThreadRef(); in CheckHeldAndUnmark()
98 base::PlatformThreadRef owning_thread_ref_;
42 PlatformThreadRef thread_ref_;
77 const PlatformThreadRef thread_ref_ = PlatformThread::CurrentRef();
110 const base::PlatformThreadRef thread_id_;
691 thread_id_(PlatformThreadRef()), in ThreadActivityTracker()1052 return thread_id_ == PlatformThreadRef(); in CalledOnValidThread()
751 const PlatformThreadRef thread_id_; // The thread this instance is bound to.