Searched refs:thread (Results 1 - 25 of 33) sorted by relevance

12

/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/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...]
H A Dcondition.c16 #include <isc/thread.h>
49 * Add the thread to the threadlist along with the required events
65 * Create the thread-specific handle
74 * Add the thread ID and handles to list of threads for broadcast
81 * The thread is holding the manager lock so this is safe
98 * Look for the thread ID.
146 * Notify every thread registered for this
204 * Get the thread events needed for the wait
H A Dapp.c33 #include <isc/thread.h>
143 * We need to remember which thread is the main thread...
H A Dpk11_api.c25 #include <isc/thread.h>
/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/nothreads/include/isc/
H A Dthread.h9 /* $Id: thread.h,v 1.6 2007/06/19 23:47:18 tbox Exp $ */
31 isc_thread_setname(isc_thread_t thread, const char *name);
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dutil.h32 #define THREAD(thread, start, arg) do { \
33 int __n = pthread_create((thread), NULL, (start), (arg)); \
39 #define JOIN(thread, valuep) do { \
40 int __n = pthread_join((thread), (valuep)); \
/bind-9.11.3/lib/isc/pthreads/include/isc/
H A Dthread.h9 /* $Id: thread.h,v 1.26 2007/06/19 23:47:18 tbox Exp $ */
43 isc_thread_setname(isc_thread_t thread, const char *name);
/bind-9.11.3/lib/isc/win32/include/isc/
H A Dcondition.h18 #include <isc/thread.h>
/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/bin/tests/
H A Drwlock_test.c18 #include <isc/thread.h>
/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)
H A Drwlock.c49 #include <isc/thread.h> /* Required for isc_thread_self(). */
57 "rwlock %p thread %lu %s(%s): "
74 "rwlock %p thread %lu %s(%s): %s, %u active, "
H A Dpk11.c22 #include <isc/thread.h>
H A Dtask.c32 #include <isc/thread.h>
49 * whether or not it's threaded, and if the application is threaded each thread
62 #define XTRACE(m) fprintf(stderr, "task %p thread %lu: %s\n", \
64 #define XTTRACE(t, m) fprintf(stderr, "task %p thread %lu: %s\n", \
66 #define XTHREADTRACE(m) fprintf(stderr, "thread %lu: %s\n", \
1452 char name[16]; /* thread name limit on Linux */
1520 * Only one non-worker thread may ever call this routine.
1521 * If a worker thread wants to initiate shutdown of the
1522 * task manager, it should ask some non-worker thread to call
1524 * that the startup thread i
[all...]
/bind-9.11.3/lib/dns/
H A Dopenssl_link.c35 #include <isc/thread.h>
H A Dgeoip.c22 #include <isc/thread.h>
H A Ddnstap.c57 #include <isc/thread.h>
239 "unable to initialize dnstap I/O thread");
355 "unable to initialize dnstap I/O thread");
/bind-9.11.3/lib/irs/
H A Dcontext.c20 #include <isc/thread.h>
56 * An IRS context is a thread-specific object, and does not need to
/bind-9.11.3/lib/dns/tests/
H A Dname_test.c26 #include <isc/thread.h>
365 /* Parse 32 million names in each thread */
H A Drbt_test.c42 #include <isc/thread.h>
1110 /* Query 32 million random names from it in each thread */
/bind-9.11.3/lib/isc/unix/
H A Dpk11_api.c23 #include <isc/thread.h>
/bind-9.11.3/contrib/sdb/ldap/
H A Dldapdb.c41 #include <isc/thread.h>
148 /* look for connection data for current thread */
152 /* no data for this thread, create empty connection list */
171 /* threaddata points at the connection list for current thread */
507 /* we assume that only one thread will call create at a time */
686 /* clean up thread data */
/bind-9.11.3/bin/rndc/
H A Drndc.c32 #include <isc/thread.h>

Completed in 108 milliseconds

12