Lines Matching defs:thread
18 /* $Id: thread.c,v 1.24 2007/06/19 23:47:19 tbox Exp $ */
24 #include <isc/thread.h>
30 isc_thread_t thread;
33 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id);
34 if (thread == NULL) {
39 *threadp = thread;
45 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) {
48 result = WaitForSingleObject(thread, INFINITE);
53 if (rp != NULL && !GetExitCodeThread(thread, rp)) {
57 (void)CloseHandle(thread);