Home
last modified time | relevance | path

Searched refs:valid_thread_id_ (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/threading/
Dthread_checker_impl.cc10 : valid_thread_id_() { in ThreadCheckerImpl()
19 return valid_thread_id_ == PlatformThread::CurrentRef(); in CalledOnValidThread()
24 valid_thread_id_ = PlatformThreadRef(); in DetachFromThread()
29 if (valid_thread_id_.is_null()) { in EnsureThreadIdAssigned()
30 valid_thread_id_ = PlatformThread::CurrentRef(); in EnsureThreadIdAssigned()
Dthread_collision_warner.cc33 int previous_value = subtle::NoBarrier_CompareAndSwap(&valid_thread_id_, in EnterSelf()
48 if (subtle::NoBarrier_CompareAndSwap(&valid_thread_id_, in Enter()
60 subtle::NoBarrier_Store(&valid_thread_id_, 0); in Leave()
Dthread_collision_warner.h149 : valid_thread_id_(0),
230 volatile subtle::Atomic32 valid_thread_id_; variable
Dthread_checker_impl.h39 mutable PlatformThreadRef valid_thread_id_; variable
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner.cc16 : incoming_queue_(incoming_queue), valid_thread_id_(kInvalidThreadId) { in MessageLoopTaskRunner()
21 DCHECK_EQ(kInvalidThreadId, valid_thread_id_); in BindToCurrentThread()
22 valid_thread_id_ = PlatformThread::CurrentId(); in BindToCurrentThread()
43 return valid_thread_id_ == PlatformThread::CurrentId(); in RunsTasksOnCurrentThread()
Dmessage_loop_task_runner.h50 PlatformThreadId valid_thread_id_; variable