/netbsd-src/lib/libpthread/ |
H A D | pthread_int.h | 92 pthread_t pt_self; /* Must be first. */ 192 void pthread__unpark_all(pthread_queue_t *, pthread_t, pthread_mutex_t *) 194 void pthread__unpark(pthread_queue_t *, pthread_t, pthread_mutex_t *) 196 int pthread__park(pthread_t, pthread_mutex_t *, pthread_queue_t *, 204 static inline void pthread__spinlock(pthread_t, pthread_spin_t *) 207 pthread__spinlock(pthread_t self, pthread_spin_t *lock) in pthread__spinlock() 214 static inline int pthread__spintrylock(pthread_t, pthread_spin_t *) 217 pthread__spintrylock(pthread_t self, pthread_spin_t *lock) in pthread__spintrylock() 222 static inline void pthread__spinunlock(pthread_t, pthread_spin_t *) 225 pthread__spinunlock(pthread_t sel in pthread__spinunlock() [all...] |
H A D | pthread.h | 48 int pthread_create(pthread_t * __restrict, 52 int pthread_join(pthread_t, void **); 53 int pthread_equal(pthread_t, pthread_t); 54 pthread_t pthread_self(void); 55 int pthread_detach(pthread_t); 62 int pthread_attr_get_np(pthread_t, pthread_attr_t *); 154 int pthread_cancel(pthread_t); 159 int pthread_getname_np(pthread_t, char *, size_t); 160 int pthread_setname_np(pthread_t, const char *, void *); 163 int pthread_suspend_np(pthread_t); [all …]
|
H A D | pthread_cancelstub.c | 159 pthread_t self; in accept() 174 pthread_t self; in __aio_suspend50() 189 pthread_t self; in __kevent100() 204 pthread_t self; in clock_nanosleep() 218 pthread_t self; in close() 232 pthread_t self; in connect() 246 pthread_t self; in fcntl() 263 pthread_t self; in fdatasync() 277 pthread_t self; in fsync() 291 pthread_t self; in fsync_range() [all …]
|
H A D | pthread.c | 89 static void pthread__initthread(pthread_t); 90 static void pthread__scrubthread(pthread_t, char *, int); 91 static void pthread__initmain(pthread_t *); 92 static void pthread__reap(pthread_t); 199 pthread_t first; in pthread__init() 298 pthread__initthread(pthread_t t) in pthread__initthread() 313 pthread__scrubthread(pthread_t t, char *name, int flags) in pthread__scrubthread() 326 pthread__getstack(pthread_t newthread, const pthread_attr_t *attr) in pthread__getstack() 396 pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() 399 pthread_t newthread; in pthread_create() [all …]
|
H A D | pthread_misc.c | 64 pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in __strong_alias() 80 pthread_setschedparam(pthread_t thread, int policy, in pthread_setschedparam() 99 pthread_getaffinity_np(pthread_t thread, size_t size, cpuset_t *cpuset) in pthread_getaffinity_np() 115 pthread_setaffinity_np(pthread_t thread, size_t size, cpuset_t *cpuset) in pthread_setaffinity_np() 131 pthread_setschedprio(pthread_t thread, int prio) in pthread_setschedprio() 149 pthread_kill(pthread_t thread, int sig) in pthread_kill()
|
H A D | pthread_mutex.c | 103 static void pthread__mutex_wakeup(pthread_t, struct pthread__waiter *); 109 pthread_t _pthread_mutex_owner_np(pthread_mutex_t *); 201 pthread_t self; in pthread_mutex_lock() 224 pthread_t self; in pthread_mutex_timedlock() 254 pthread__mutex_spin(pthread_mutex_t *ptm, pthread_t owner) in pthread__mutex_spin() 256 pthread_t thread; in pthread__mutex_spin() 260 thread = (pthread_t)MUTEX_OWNER(owner); in pthread__mutex_spin() 279 pthread_t self; in pthread__mutex_lock_slow() 398 pthread_t self; in pthread_mutex_trylock() 441 pthread_t self; in pthread_mutex_unlock() [all …]
|
H A D | pthread_spin.c | 94 pthread_t self; in pthread_spin_lock() 110 pthread_t self; in pthread_spin_trylock() 124 pthread_t self; in pthread_spin_unlock()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/dragonflybsd/ |
H A D | pthread_np.d | 18 alias pthread_switch_routine_t = void function(pthread_t, pthread_t); 20 int pthread_attr_get_np(pthread_t, pthread_attr_t *); 24 int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *); 30 int pthread_resume_np(pthread_t); 31 void pthread_set_name_np(pthread_t, const(char)*); 32 int pthread_setaffinity_np(pthread_t, size_t, const(cpuset_t)*); 35 int pthread_suspend_np(pthread_t); 38 int pthread_timedjoin_np(pthread_t, void **, const(timespec)*);
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/freebsd/ |
H A D | pthread_np.d | 18 alias pthread_switch_routine_t = void function(pthread_t, pthread_t); 21 int pthread_attr_get_np(pthread_t, pthread_attr_t *); 24 int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *); 31 int pthread_resume_np(pthread_t); 32 void pthread_set_name_np(pthread_t, const(char)*); 38 int pthread_setaffinity_np(pthread_t, size_t, const(cpuset_t)*); 41 int pthread_suspend_np(pthread_t); 44 int pthread_timedjoin_np(pthread_t, void **, const(timespec)*);
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/ |
H A D | pthread.d | 34 int pthread_threadid_np(pthread_t, ulong*); 45 int pthread_getname_np(pthread_t, char*, size_t); 49 mach_port_t pthread_mach_thread_np(pthread_t); 50 size_t pthread_get_stacksize_np(pthread_t); 51 void* pthread_get_stackaddr_np(pthread_t); 52 int pthread_cond_signal_thread_np(pthread_cond_t*, pthread_t); 54 int pthread_create_suspended_np(pthread_t*, const scope pthread_attr_t*, void* function(void*), voi… 55 int pthread_kill(pthread_t, int); 56 pthread_t pthread_from_mach_thread_np(mach_port_t);
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
H A D | pthread.d | 452 int pthread_cancel(pthread_t); 501 pthread_t self = pthread_self(); 510 pthread_t self = pthread_self(); 725 int pthread_create(pthread_t*, const scope pthread_attr_t*, void* function(void*), void*); 726 int pthread_detach(pthread_t); 727 int pthread_equal(pthread_t, pthread_t); 730 int pthread_join(pthread_t, void**); 753 pthread_t pthread_self(); 1222 int pthread_getcpuclockid(pthread_t, clockid_t*); 1226 int pthread_getcpuclockid(pthread_t, clockid_t*); [all …]
|
/netbsd-src/tests/usr.bin/cc/ |
H A D | t_tsan_signal_errno.sh | 67 pthread_t mainth; 75 pthread_t th; 95 pthread_t mainth; 103 pthread_t th; 129 pthread_t mainth; 137 pthread_t th; 163 pthread_t mainth; 171 pthread_t th;
|
H A D | t_tsan_thread_leak.sh | 73 pthread_t t; 101 pthread_t t; 135 pthread_t t; 169 pthread_t t;
|
H A D | t_tsan_data_race.sh | 66 pthread_t t; 88 pthread_t t; 116 pthread_t t; 144 pthread_t t;
|
/netbsd-src/tests/usr.bin/c++/ |
H A D | t_tsan_signal_errno.sh | 67 pthread_t mainth; 75 pthread_t th; 95 pthread_t mainth; 103 pthread_t th; 129 pthread_t mainth; 137 pthread_t th; 163 pthread_t mainth; 171 pthread_t th;
|
H A D | t_tsan_data_race.sh | 66 pthread_t t; 88 pthread_t t; 116 pthread_t t; 144 pthread_t t;
|
H A D | t_tsan_thread_leak.sh | 73 pthread_t t; 101 pthread_t t; 135 pthread_t t; 169 pthread_t t;
|
/netbsd-src/tests/lib/libpthread/ |
H A D | h_resolv.c | 59 static pthread_t run(int *); 97 pthread_t self = pthread_self(); in resolvone() 133 static pthread_t 136 pthread_t self = pthread_self(); in run() 146 pthread_t *threads; in main() 180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL) in main()
|
H A D | t_kill.c | 73 pthread_t id; 77 pthread_t mainthread; 82 pthread_t self; in sighandler() 118 pthread_t self; in ATF_TC_BODY()
|
H A D | t_cond.c | 77 pthread_t new; in ATF_TC_BODY() 138 pthread_t new; in ATF_TC_BODY() 200 pthread_t new; in ATF_TC_BODY() 260 pthread_t new; in ATF_TC_BODY() 345 pthread_t tid[64]; in ATF_TC_BODY() 391 pthread_t new; in ATF_TC_BODY() 446 pthread_t new; in ATF_TC_BODY() 529 pthread_t thread; in ATF_TC_BODY()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/ |
H A D | vts_many_threads_bench.cc | 93 pthread_t *t = new pthread_t[n_threads]; in main() 95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/openbsd/ |
H A D | pthread_np.d | 20 void pthread_get_name_np(pthread_t, char*, size_t); 21 void pthread_set_name_np(pthread_t, const(char)*); 22 int pthread_stackseg_np(pthread_t, stack_t*);
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cc | 66 pthread_t pthread_id; in SetUp() 84 void SpawnTidReporter(pthread_t *pthread_id, tid_t *tid); 88 std::vector<pthread_t> pthread_ids_; 110 void ThreadListerTest::SpawnTidReporter(pthread_t *pthread_id, tid_t *tid) { in SpawnTidReporter() 168 pthread_t extra_pthread_id; in TEST_F() 200 pthread_t tid; in TEST() 219 pthread_t tid; in TEST()
|
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/tests/base/ |
H A D | pthread.h | 116 extern int pthread_create (pthread_t *__restrict __thr, 117 extern int pthread_kill (pthread_t __thr, int __signo); 118 extern int pthread_cancel (pthread_t __thr);
|
/netbsd-src/external/gpl3/gcc/dist/fixincludes/tests/base/ |
H A D | pthread.h | 116 extern int pthread_create (pthread_t *__restrict __thr, 117 extern int pthread_kill (pthread_t __thr, int __signo); 118 extern int pthread_cancel (pthread_t __thr);
|