/openbsd/include/ |
H A D | pthread.h | 112 typedef struct pthread *pthread_t; typedef 215 int pthread_detach(pthread_t); 216 int pthread_equal(pthread_t, pthread_t); 219 int pthread_join(pthread_t, void **); 223 int pthread_kill(pthread_t, int); 254 pthread_t pthread_self(void); 257 int pthread_cancel(pthread_t); 262 int pthread_getprio(pthread_t); 263 int pthread_setprio(pthread_t, int); 292 int pthread_setschedparam(pthread_t, int, [all …]
|
H A D | pthread_np.h | 42 typedef void (*pthread_switch_routine_t)(pthread_t, pthread_t); 50 void pthread_get_name_np(pthread_t, char *, size_t); 51 void pthread_set_name_np(pthread_t, const char *); 52 int pthread_stackseg_np(pthread_t, stack_t *);
|
/openbsd/lib/librthread/ |
H A D | rthread.c | 93 pthread_t thread = v; in _rthread_start() 154 _rthread_free(pthread_t thread) in _rthread_free() 162 _thread_release(pthread_t thread) in _thread_release() 182 pthread_t thread; in _thread_key_zero() 250 pthread_t thread; in _rthread_reaper() 284 pthread_t self; in pthread_join() 324 pthread_detach(pthread_t thread) in pthread_detach() 349 pthread_t thread; in pthread_create() 548 pthread_t thread; in _thread_dump_info() 570 static pthread_t owner = NULL; in _rthread_dl_lock() [all …]
|
H A D | rthread_sched.c | 32 pthread_getschedparam(pthread_t thread, int *policy, in pthread_getschedparam() 46 pthread_setschedparam(pthread_t thread, int policy, in pthread_setschedparam() 121 pthread_getprio(pthread_t thread) in pthread_getprio() 130 pthread_setprio(pthread_t thread, int priority) in pthread_setprio()
|
H A D | rthread_spin_lock.c | 62 pthread_t self = pthread_self(); in pthread_spin_trylock() 82 pthread_t self = pthread_self(); in pthread_spin_lock() 101 pthread_t self = pthread_self(); in pthread_spin_unlock()
|
H A D | rthread_np.c | 43 pthread_set_name_np(pthread_t thread, const char *name) in pthread_set_name_np() 53 pthread_get_name_np(pthread_t thread, char *name, size_t len) in pthread_get_name_np() 80 pthread_stackseg_np(pthread_t thread, stack_t *sinfo) in pthread_stackseg_np()
|
/openbsd/gnu/gcc/gcc/ |
H A D | gthr-posix.c | 70 pthread_create (pthread_t *thread ATTRIBUTE_UNUSED, in pthread_create() 79 pthread_cancel (pthread_t thread ATTRIBUTE_UNUSED) in pthread_cancel() 171 pthread_t 174 return (pthread_t) 0; in pthread_self() 219 pthread_getschedparam (pthread_t thread ATTRIBUTE_UNUSED, in pthread_getschedparam() 227 pthread_setschedparam (pthread_t thread ATTRIBUTE_UNUSED, in pthread_setschedparam()
|
H A D | gthr-posix95.h | 51 pthread_t owner; 244 pthread_t new_thread_handle; in __gthread_objc_thread_detach() 267 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() 598 mutex->owner = (pthread_t) 0; in __gthread_recursive_mutex_init_function() 607 pthread_t me = __gthrw_(pthread_self) (); in __gthread_recursive_mutex_lock() 625 pthread_t me = __gthrw_(pthread_self) (); in __gthread_recursive_mutex_trylock() 646 mutex->owner = (pthread_t) 0; in __gthread_recursive_mutex_unlock()
|
/openbsd/distrib/special/libstubs/ |
H A D | pthread_once.c | 32 pthread_equal(pthread_t t1, pthread_t t2) in pthread_equal() 37 pthread_t 41 return (pthread_t) 1; in pthread_self()
|
/openbsd/lib/libc/thread/ |
H A D | rthread.c | 76 pthread_t thread = &_initial_thread; in _rthread_init() 111 pthread_t 126 pthread_t thread = pthread_self(); in pthread_exit() 161 pthread_equal(pthread_t t1, pthread_t t2) in pthread_equal()
|
H A D | rthread_sync.c | 89 pthread_t self = pthread_self(); in _rthread_mutex_lock() 190 pthread_t self = pthread_self(); in pthread_mutex_unlock() 225 pthread_t next; in pthread_mutex_unlock() 291 pthread_t self = tib->tib_thread; in pthread_cond_timedwait() 292 pthread_t next; in pthread_cond_timedwait() 447 pthread_t self = tib->tib_thread; in pthread_cond_wait() 448 pthread_t next; in pthread_cond_wait() 584 pthread_t thread; in pthread_cond_signal() 632 pthread_t thread; in pthread_cond_broadcast() 633 pthread_t p; in pthread_cond_broadcast()
|
/openbsd/regress/lib/libpthread/pthread_rwlock2/ |
H A D | pthread_rwlock2.c | 40 pthread_t self = pthread_self(); in set_msg() 55 pthread_t self = pthread_self(); in print_msg() 70 pthread_t self = pthread_self(); in run() 92 pthread_t handlers[NTHREADS]; in main()
|
/openbsd/gnu/gcc/libgomp/config/posix95/ |
H A D | lock.c | 71 lock->owner = (pthread_t) 0; in omp_init_nest_lock() 84 pthread_t me = pthread_self (); in omp_set_nest_lock() 102 lock->owner = (pthread_t) 0; in omp_unset_nest_lock() 110 pthread_t me = pthread_self (); in omp_test_nest_lock()
|
/openbsd/gnu/gcc/libmudflap/ |
H A D | mf-hooks3.c | 74 DECLARE(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, 99 pthread_t self; 112 pthread_t self = pthread_self (); in __mf_find_threadinfo() 265 __mf_0fn_pthread_create (pthread_t *thr, const pthread_attr_t *attr, in __mf_0fn_pthread_create() 274 WRAPPER(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, in WRAPPER()
|
/openbsd/gnu/usr.bin/gcc/gcc/fixinc/tests/base/ |
H A D | pthread.h | 66 extern int pthread_create (pthread_t *__restrict __thr, 67 extern int pthread_kill (pthread_t __thr, int __signo); 68 extern int pthread_cancel (pthread_t __thr);
|
/openbsd/regress/lib/libpthread/blocked_join/ |
H A D | blocked_join.c | 24 pthread_t mainthread = *(pthread_t *)arg; in joiner() 32 pthread_t d, t, self = pthread_self(); in main()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/benchmarks/ |
H A D | vts_many_threads_bench.cpp | 93 pthread_t *t = new pthread_t[n_threads]; in main() 95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
|
/openbsd/regress/lib/libpthread/signals/pthread_join/ |
H A D | pthread_join.c | 27 pthread_t tid = *(pthread_t *)arg; in thr_join() 38 pthread_t tid[2]; in main()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_pthread_wrappers.h | 28 typedef HANDLE pthread_t; typedef 43 inline void PTHREAD_CREATE(pthread_t *thread, void *attr, in PTHREAD_CREATE() 55 inline void PTHREAD_JOIN(pthread_t thread, void **value_ptr) { in PTHREAD_JOIN()
|
H A D | sanitizer_mutex_test.cpp | 131 pthread_t threads[kThreads]; in TEST() 142 pthread_t threads[kThreads]; in TEST() 152 pthread_t threads[kThreads]; in TEST() 161 pthread_t threads[kThreads]; in TEST() 189 pthread_t thread; in TEST()
|
H A D | sanitizer_linux_test.cpp | 65 pthread_t pthread_id; in SetUp() 83 void SpawnTidReporter(pthread_t *pthread_id, tid_t *tid); 87 std::vector<pthread_t> pthread_ids_; 109 void ThreadListerTest::SpawnTidReporter(pthread_t *pthread_id, tid_t *tid) { in SpawnTidReporter() 167 pthread_t extra_pthread_id; in TEST_F() 203 pthread_t tid; in TEST()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_posix_util.h | 45 extern "C" int __interceptor_pthread_create(pthread_t *thread, 49 extern "C" int __interceptor_pthread_join(pthread_t thread, void **value_ptr); 50 extern "C" int __interceptor_pthread_detach(pthread_t thread);
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/tests/ |
H A D | asan_mac_test.cpp | 28 pthread_t child; in CFAllocator_DoubleFreeOnPthread() 54 pthread_t th1, th2; in CFAllocator_PassMemoryToAnotherThread() 175 pthread_t workers[kNumWorkers], forker; in TEST() 196 pthread_t th; in TEST()
|
/openbsd/usr.sbin/unbound/testcode/ |
H A D | checklocks.h | 100 pthread_t id; 289 void checklock_thrcreate(pthread_t* thr, void* (*func)(void*), void* arg); 295 void checklock_thrjoin(pthread_t thread); 332 typedef pthread_t ub_thread_type;
|
/openbsd/gnu/gcc/fixincludes/tests/base/ |
H A D | pthread.h | 187 extern int pthread_create (pthread_t *__restrict __thr, 188 extern int pthread_kill (pthread_t __thr, int __signo); 189 extern int pthread_cancel (pthread_t __thr);
|