| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | threadstest.h | 19 typedef unsigned int thread_t; typedef 21 static int run_thread(thread_t *t, void (*f)(void)) in run_thread() 27 static int wait_for_thread(thread_t thread) in wait_for_thread() 34 typedef HANDLE thread_t; typedef 46 static int run_thread(thread_t *t, void (*f)(void)) in run_thread() 52 static int wait_for_thread(thread_t thread) in wait_for_thread() 59 typedef pthread_t thread_t; typedef 71 static int run_thread(thread_t *t, void (*f)(void)) in run_thread() 76 static int wait_for_thread(thread_t thread) in wait_for_thread()
|
| H A D | drbgtest.c | 711 typedef HANDLE thread_t; typedef 724 static int run_thread(thread_t *t) in run_thread() 730 static int wait_for_thread(thread_t thread) in wait_for_thread() 737 typedef pthread_t thread_t; typedef 750 static int run_thread(thread_t *t) in run_thread() 755 static int wait_for_thread(thread_t thread) in wait_for_thread() 770 thread_t t[THREADS]; in test_multi_thread()
|
| H A D | threadstest.c | 67 thread_t thread; in test_once() 112 thread_t thread; in test_thread_local() 221 static thread_t multi_threads[MAXIMUM_THREADS]; 472 thread_t thread1, thread2; in test_multi() 583 thread_t thread1, thread2; in test_multi_default() 620 thread_t threads[MULTI_LOAD_THREADS]; in test_multi_load()
|
| H A D | threadstest_fips.c | 30 thread_t thread; in test_fips_rand_leak()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | threadstest.c | 19 typedef unsigned int thread_t; typedef 21 static int run_thread(thread_t *t, void (*f)(void)) in run_thread() 27 static int wait_for_thread(thread_t thread) in wait_for_thread() 34 typedef HANDLE thread_t; typedef 46 static int run_thread(thread_t *t, void (*f)(void)) in run_thread() 52 static int wait_for_thread(thread_t thread) in wait_for_thread() 59 typedef pthread_t thread_t; typedef 71 static int run_thread(thread_t *t, void (*f)(void)) in run_thread() 76 static int wait_for_thread(thread_t thread) in wait_for_thread() 111 thread_t thread; in test_once() [all …]
|
| H A D | drbgtest.c | 872 typedef HANDLE thread_t; typedef 885 static int run_thread(thread_t *t) in run_thread() 891 static int wait_for_thread(thread_t thread) in wait_for_thread() 898 typedef pthread_t thread_t; typedef 911 static int run_thread(thread_t *t) in run_thread() 916 static int wait_for_thread(thread_t thread) in wait_for_thread() 931 thread_t t[THREADS]; in test_multi_thread()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cc | 26 thread_t thread; 34 thread_t GetThread(uptr index) const; 36 bool ContainsThread(thread_t thread) const; 37 void Append(thread_t thread); 64 thread_t thread_self = mach_thread_self(); in RunThread() 114 thread_t SuspendedThreadsListMac::GetThread(uptr index) const { in GetThread() 123 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const { in ContainsThread() 130 void SuspendedThreadsListMac::Append(thread_t thread) { in Append() 144 thread_t thread = GetThread(index); in GetRegistersAndSP()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cc | 28 thread_t thread; 36 thread_t GetThread(uptr index) const; 38 bool ContainsThread(thread_t thread) const; 39 void Append(thread_t thread); 66 thread_t thread_self = mach_thread_self(); in RunThread() 116 thread_t SuspendedThreadsListMac::GetThread(uptr index) const { in GetThread() 125 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const { in ContainsThread() 132 void SuspendedThreadsListMac::Append(thread_t thread) { in Append() 146 thread_t thread = GetThread(index); in GetRegistersAndSP()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cpp | 27 thread_t thread; 35 thread_t GetThread(uptr index) const; 37 bool ContainsThread(thread_t thread) const; 38 void Append(thread_t thread); 65 thread_t thread_self = mach_thread_self(); in RunThread() 116 thread_t SuspendedThreadsListMac::GetThread(uptr index) const { in GetThread() 125 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const { in ContainsThread() 132 void SuspendedThreadsListMac::Append(thread_t thread) { in Append() 146 thread_t thread = GetThread(index); in GetRegistersAndSP()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/mach/ |
| H A D | semaphore.d | 34 alias mach_port_t thread_t; variable 61 kern_return_t semaphore_signal_thread(semaphore_t, thread_t);
|
| /netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/ |
| H A D | taskq.c | 45 thread_t *tq_threadlist; 261 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create() 304 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t)); in taskq_destroy() 324 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t) in taskq_member()
|
| H A D | kernel.c | 82 thread_t tid; in zk_thread_create()
|
| /netbsd-src/external/cddl/osnet/dist/head/ |
| H A D | thread.h | 44 typedef pthread_t thread_t; typedef 81 void *arg, long flags, thread_t *new_thread_ID) in thr_create()
|
| /netbsd-src/sys/ddb/ |
| H A D | db_break.c | 278 thread_t thread; in db_map_current() 294 thread_t thread; in db_map_addr()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| H A D | lock.c | 436 lock->owner = (thread_t) 0; in glthread_recursive_lock_init() 443 thread_t self = thr_self (); in glthread_recursive_lock_lock() 463 lock->owner = (thread_t) 0; in glthread_recursive_lock_unlock() 472 if (lock->owner != (thread_t) 0) in glthread_recursive_lock_destroy()
|
| H A D | lock.h | 573 thread_t owner; 582 { DEFAULTMUTEX, (thread_t) 0, 0 }
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| H A D | lock.c | 437 lock->owner = (thread_t) 0; in glthread_recursive_lock_init() 444 thread_t self = thr_self (); in glthread_recursive_lock_lock() 464 lock->owner = (thread_t) 0; in glthread_recursive_lock_unlock() 473 if (lock->owner != (thread_t) 0) in glthread_recursive_lock_destroy()
|
| H A D | lock.h | 574 thread_t owner; 583 { DEFAULTMUTEX, (thread_t) 0, 0 }
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| H A D | lock.c | 436 lock->owner = (thread_t) 0; in glthread_recursive_lock_init() 443 thread_t self = thr_self (); in glthread_recursive_lock_lock() 463 lock->owner = (thread_t) 0; in glthread_recursive_lock_unlock() 472 if (lock->owner != (thread_t) 0) in glthread_recursive_lock_destroy()
|
| H A D | lock.h | 573 thread_t owner; 582 { DEFAULTMUTEX, (thread_t) 0, 0 }
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/nat/ |
| H A D | glibc_thread_db.h | 242 typedef pthread_t thread_t; typedef 263 thread_t ti_tid; /* Thread ID returned by
|
| /netbsd-src/external/gpl3/gdb.old/dist/gdb/nat/ |
| H A D | glibc_thread_db.h | 242 typedef pthread_t thread_t; typedef 263 thread_t ti_tid; /* Thread ID returned by
|
| /netbsd-src/external/bsd/openldap/dist/include/ |
| H A D | ldap_int_thread.h | 121 typedef thread_t ldap_int_thread_t;
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/tests/ |
| H A D | test-lock.c | 138 typedef thread_t gl_thread_t; 141 thread_t thread; in gl_thread_create()
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | locks.h | 209 typedef thread_t ub_thread_type;
|