Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dthreadstest.h19 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 Ddrbgtest.c711 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 Dthreadstest.c67 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 Dthreadstest_fips.c30 thread_t thread; in test_fips_rand_leak()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dthreadstest.c19 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 Ddrbgtest.c872 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 Dsanitizer_stoptheworld_mac.cc26 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 Dsanitizer_stoptheworld_mac.cc28 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 Dsanitizer_stoptheworld_mac.cpp27 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 Dsemaphore.d34 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 Dtaskq.c45 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 Dkernel.c82 thread_t tid; in zk_thread_create()
/netbsd-src/external/cddl/osnet/dist/head/
H A Dthread.h44 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 Ddb_break.c278 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 Dlock.c436 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 Dlock.h573 thread_t owner;
582 { DEFAULTMUTEX, (thread_t) 0, 0 }
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dlock.c437 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 Dlock.h574 thread_t owner;
583 { DEFAULTMUTEX, (thread_t) 0, 0 }
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dlock.c436 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 Dlock.h573 thread_t owner;
582 { DEFAULTMUTEX, (thread_t) 0, 0 }
/netbsd-src/external/gpl3/gdb/dist/gdb/nat/
H A Dglibc_thread_db.h242 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 Dglibc_thread_db.h242 typedef pthread_t thread_t; typedef
263 thread_t ti_tid; /* Thread ID returned by
/netbsd-src/external/bsd/openldap/dist/include/
H A Dldap_int_thread.h121 typedef thread_t ldap_int_thread_t;
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/tests/
H A Dtest-lock.c138 typedef thread_t gl_thread_t;
141 thread_t thread; in gl_thread_create()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dlocks.h209 typedef thread_t ub_thread_type;

12