Lines Matching refs:thread_
50 RTC_DCHECK(!thread_); in ~PlatformThread()
74 RTC_DCHECK(!thread_) << "Thread already started?"; in Start()
79 thread_ = ::CreateThread(nullptr, 1024 * 1024, &StartThread, this, in Start()
81 RTC_CHECK(thread_) << "CreateThread failed"; in Start()
87 RTC_CHECK_EQ(0, pthread_create(&thread_, &attr, &StartThread, this)); in Start()
94 return thread_ != nullptr; in IsRunning()
96 return thread_ != 0; in IsRunning()
104 return thread_; in GetThreadRef()
114 WaitForSingleObject(thread_, INFINITE); in Stop()
115 CloseHandle(thread_); in Stop()
116 thread_ = nullptr; in Stop()
119 RTC_CHECK_EQ(0, pthread_join(thread_, nullptr)); in Stop()
120 thread_ = 0; in Stop()
137 return SetThreadPriority(thread_, priority) != FALSE; in SetPriority()
179 return pthread_setschedparam(thread_, policy, ¶m) == 0; in SetPriority()
188 return QueueUserAPC(function, thread_, data) != FALSE; in QueueAPC()