Searched refs:valid_thread_ (Results 1 – 2 of 2) sorted by relevance
19 ThreadCheckerImpl::ThreadCheckerImpl() : valid_thread_(CurrentThreadRef()) { in ThreadCheckerImpl()28 if (!valid_thread_) // Set if previously detached. in CalledOnValidThread()29 valid_thread_ = current_thread; in CalledOnValidThread()30 return IsThreadRefEqual(valid_thread_, current_thread); in CalledOnValidThread()35 valid_thread_ = 0; in DetachFromThread()
43 mutable PlatformThreadRef valid_thread_; variable