Lines Matching refs:thread_handle
47 PlatformThreadHandle thread_handle;
64 thread_handle = CreateThread(
66 if (!thread_handle) {
72 *out_thread_handle = thread_handle;
74 CloseHandle(thread_handle);
117 PlatformThreadHandle* thread_handle) {
118 DCHECK(thread_handle);
119 return CreateThreadInternal(stack_size, delegate, thread_handle);
128 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
129 DCHECK(thread_handle);
133 // the thread referred to by |thread_handle| may still be running long-lived /
141 DWORD result = WaitForSingleObject(thread_handle, INFINITE);
144 CloseHandle(thread_handle);