Lines Matching defs:handle
64 /* Fields for managing the handle. */
65 HANDLE volatile handle;
80 /* GetCurrentThread() returns a pseudo-handle, i.e. only a symbolic
81 identifier, not a real handle. */
113 thread->handle = get_current_thread_handle ();
129 /* Create a new handle for the thread only if the parent thread did not yet
130 fill in the handle. */
131 if (thread->handle == NULL)
132 thread->handle = get_current_thread_handle ();
152 thread->handle = NULL;
173 if (thread->handle == NULL)
174 thread->handle = thread_handle;
176 /* thread->handle was already set by the thread itself. */
194 if (WaitForSingleObject (thread->handle, INFINITE) == WAIT_FAILED)
201 CloseHandle (thread->handle);