Lines Matching refs:thread_handle
104 void* thread_handle = CreateThread(
106 if (!thread_handle) {
112 *out_thread_handle = PlatformThreadHandle(thread_handle);
114 CloseHandle(thread_handle);
171 PlatformThreadHandle* thread_handle) {
172 DCHECK(thread_handle);
173 return CreateThreadInternal(stack_size, delegate, thread_handle);
178 PlatformThreadHandle* thread_handle,
180 bool result = Create(stack_size, delegate, thread_handle);
182 SetThreadPriority(*thread_handle, priority);
192 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
193 DCHECK(thread_handle.handle_);
197 // the thread referred to by |thread_handle| may still be running long-lived /
205 DWORD result = WaitForSingleObject(thread_handle.handle_, INFINITE);
211 debug::Alias(&thread_handle.handle_);
215 CloseHandle(thread_handle.handle_);