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

/bind-9.11.3/lib/isc/nothreads/
H A Dthread.c9 /* $Id: thread.c,v 1.5 2007/06/19 23:47:18 tbox Exp $ */
13 #include <isc/thread.h>
21 void isc_thread_setname(isc_thread_t thread, const char *name) { argument
22 UNUSED(thread);
/bind-9.11.3/lib/isc/pthreads/
H A Dthread.c9 /* $Id: thread.c,v 1.17 2007/06/19 23:47:18 tbox Exp $ */
19 #include <isc/thread.h>
28 isc_thread_t *thread)
55 ret = pthread_create(thread, &attr, func, arg);
74 isc_thread_setname(isc_thread_t thread, const char *name) { argument
78 * current thread so it's not used here
80 (void)pthread_setname_np(thread, name);
82 (void)pthread_set_name_np(thread, name);
84 UNUSED(thread);
27 isc_thread_create(isc_threadfunc_t func, isc_threadarg_t arg, isc_thread_t *thread) argument
/bind-9.11.3/lib/isc/win32/
H A Dthread.c13 #include <isc/thread.h>
20 isc_thread_t thread; local
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) { argument
38 result = WaitForSingleObject(thread, INFINITE);
43 if (rp != NULL && !GetExitCodeThread(thread, rp)) {
47 (void)CloseHandle(thread);
61 isc_thread_setname(isc_thread_t thread, cons argument
[all...]
/bind-9.11.3/bin/named/
H A Dfuzz.c21 #include <isc/thread.h>
39 * version of BIND, where all thread functions are mocks. Since AFL for now only
451 pthread_t thread; local
473 RUNTIME_CHECK(pthread_create(&thread, NULL, fn, NULL) == 0);
/bind-9.11.3/lib/isc/
H A Dtimer.c26 #include <isc/thread.h>
104 isc_thread_t thread; member in struct:isc__timermgr
267 * run thread, or explicitly setting the value in the manager.
904 if (isc_thread_create(run, manager, &manager->thread) !=
917 isc_thread_setname(manager->thread, "isc-timer");
984 * Wait for thread to exit.
986 if (isc_thread_join(manager->thread, NULL) != ISC_R_SUCCESS)

Completed in 22 milliseconds