Searched defs:thread (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/pthreads/
H A Dthread.c18 /* $Id: thread.c,v 1.17 2007/06/19 23:47:18 tbox Exp $ */
24 #include <isc/thread.h>
33 isc_thread_t *thread)
60 ret = pthread_create(thread, &attr, func, arg);
32 isc_thread_create(isc_threadfunc_t func, isc_threadarg_t arg, isc_thread_t *thread) argument
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dthread.c18 /* $Id: thread.c,v 1.24 2007/06/19 23:47:19 tbox Exp $ */
24 #include <isc/thread.h>
30 isc_thread_t thread; local
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) { argument
48 result = WaitForSingleObject(thread, INFINITE);
53 if (rp != NULL && !GetExitCodeThread(thread, rp)) {
57 (void)CloseHandle(thread);
[all...]
/bind-9.6-ESV-R11/lib/isc/
H A Dtimer.c32 #include <isc/thread.h>
96 isc_thread_t thread; member in struct:isc_timermgr
200 * run thread, or explicitly setting the value in the manager.
821 if (isc_thread_create(run, manager, &manager->thread) !=
894 * Wait for thread to exit.
896 if (isc_thread_join(manager->thread, NULL) != ISC_R_SUCCESS)

Completed in 10 milliseconds