Home | History | Annotate | Download | only in base

Lines Matching refs:thread_

102       thread_(NULL) {
105 thread_(0) {
114 RTC_DCHECK(!thread_);
132 RTC_DCHECK(!thread_) << "Thread already started?";
140 thread_ = ::CreateThread(NULL, 1024 * 1024, &StartThread, this,
142 RTC_CHECK(thread_) << "CreateThread failed";
147 RTC_CHECK_EQ(0, pthread_create(&thread_, &attr, &StartThread, this));
154 return thread_ != nullptr;
156 return thread_ != 0;
167 QueueUserAPC(&RaiseFlag, thread_, reinterpret_cast<ULONG_PTR>(&stop_));
168 WaitForSingleObject(thread_, INFINITE);
169 CloseHandle(thread_);
170 thread_ = nullptr;
173 RTC_CHECK_EQ(0, pthread_join(thread_, nullptr));
174 thread_ = 0;
200 return SetThreadPriority(thread_, priority) != FALSE;
246 return pthread_setschedparam(thread_, policy, &param) == 0;