/bind-9.11.3/lib/isc/nothreads/ |
H A D | thread.c | 9 /* $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 D | thread.c | 13 #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 D | condition.c | 16 #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 D | app.c | 33 #include <isc/thread.h> 143 * We need to remember which thread is the main thread...
|
H A D | pk11_api.c | 25 #include <isc/thread.h>
|
/bind-9.11.3/lib/isc/pthreads/ |
H A D | thread.c | 9 /* $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 D | thread.h | 9 /* $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 D | util.h | 32 #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 D | thread.h | 9 /* $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 D | condition.h | 18 #include <isc/thread.h>
|
/bind-9.11.3/bin/named/ |
H A D | fuzz.c | 21 #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 D | rwlock_test.c | 18 #include <isc/thread.h>
|
/bind-9.11.3/lib/isc/ |
H A D | timer.c | 26 #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 D | rwlock.c | 49 #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 D | pk11.c | 22 #include <isc/thread.h>
|
H A D | task.c | 32 #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 D | openssl_link.c | 35 #include <isc/thread.h>
|
H A D | geoip.c | 22 #include <isc/thread.h>
|
H A D | dnstap.c | 57 #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 D | context.c | 20 #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 D | name_test.c | 26 #include <isc/thread.h> 365 /* Parse 32 million names in each thread */
|
H A D | rbt_test.c | 42 #include <isc/thread.h> 1110 /* Query 32 million random names from it in each thread */
|
/bind-9.11.3/lib/isc/unix/ |
H A D | pk11_api.c | 23 #include <isc/thread.h>
|
/bind-9.11.3/contrib/sdb/ldap/ |
H A D | ldapdb.c | 41 #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 D | rndc.c | 32 #include <isc/thread.h>
|