Lines Matching refs:thread
13 #include <isc/thread.h>
20 isc_thread_t thread;
23 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id);
24 if (thread == NULL) {
29 *threadp = thread;
35 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) {
38 result = WaitForSingleObject(thread, INFINITE);
43 if (rp != NULL && !GetExitCodeThread(thread, rp)) {
47 (void)CloseHandle(thread);
61 isc_thread_setname(isc_thread_t thread, const char *name) {
62 UNUSED(thread);