Home
last modified time | relevance | path

Searched refs:pthread_t (Results 1 – 25 of 253) sorted by relevance

1234567891011

/freebsd-12.1/include/
H A Dpthread_np.h42 typedef void (*pthread_switch_routine_t)(pthread_t, pthread_t);
49 int pthread_attr_get_np(pthread_t, pthread_attr_t *);
52 void pthread_get_name_np(pthread_t, char *, size_t);
53 int pthread_getaffinity_np(pthread_t, size_t, cpuset_t *);
65 int pthread_resume_np(pthread_t);
66 void pthread_set_name_np(pthread_t, const char *);
67 int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
70 int pthread_suspend_np(pthread_t);
73 int pthread_timedjoin_np(pthread_t, void **, const struct timespec *);
H A Dpthread.h212 int pthread_create(pthread_t * __restrict,
215 int pthread_detach(pthread_t);
216 int pthread_equal(pthread_t, pthread_t);
219 int pthread_getcpuclockid(pthread_t, clockid_t *);
220 int pthread_join(pthread_t, void **);
282 pthread_t pthread_self(void);
295 int pthread_cancel(pthread_t);
301 int pthread_getprio(pthread_t);
302 int pthread_setprio(pthread_t, int);
337 int pthread_getschedparam(pthread_t pthread, int * __restrict,
[all …]
/freebsd-12.1/contrib/gcc/
H A Dgthr-posix.c70 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 Dgthr-posix95.h51 pthread_t owner;
250 pthread_t new_thread_handle; in __gthread_objc_thread_detach()
273 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority()
604 mutex->owner = (pthread_t) 0; in __gthread_recursive_mutex_init_function()
613 pthread_t me = __gthrw_(pthread_self) (); in __gthread_recursive_mutex_lock()
631 pthread_t me = __gthrw_(pthread_self) (); in __gthread_recursive_mutex_trylock()
652 mutex->owner = (pthread_t) 0; in __gthread_recursive_mutex_unlock()
/freebsd-12.1/lib/libthr/thread/
H A Dthr_join.c39 int _pthread_timedjoin_np(pthread_t pthread, void **thread_return,
41 static int join_common(pthread_t, void **, const struct timespec *);
58 _thr_join(pthread_t pthread, void **thread_return) in _thr_join()
64 _pthread_timedjoin_np(pthread_t pthread, void **thread_return, in _pthread_timedjoin_np()
79 join_common(pthread_t pthread, void **thread_return, in join_common()
H A Dthr_equal.c44 _thr_equal(pthread_t t1, pthread_t t2) in _thr_equal()
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_kill.c73 pthread_t id;
77 pthread_t mainthread;
82 pthread_t self; in sighandler()
118 pthread_t self; in ATF_TC_BODY()
H A Dt_cond.c77 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()
519 pthread_t thread; in ATF_TC_BODY()
574 pthread_t thread; in ATF_TC_BODY()
617 pthread_t thread; in ATF_TC_BODY()
H A Dt_mutex.c105 pthread_t new; in ATF_TC_BODY()
166 pthread_t new; in ATF_TC_BODY()
249 pthread_t new; in ATF_TC_BODY()
320 pthread_t new; in ATF_TC_BODY()
397 pthread_t child; in ATF_TC_BODY()
439 pthread_t childid = pthread_self(); in high_prio()
470 pthread_t childid = pthread_self(); in low_prio()
531 pthread_t high, low; in ATF_TC_BODY()
690 pthread_t new; in ATF_TC_BODY()
718 pthread_t new; in ATF_TC_BODY()
H A Dt_sigmask.c56 static volatile pthread_t thr_usr1;
57 static volatile pthread_t thr_usr2;
180 pthread_t thread; in ATF_TC_BODY()
223 pthread_t id; in ATF_TC_BODY()
H A Dt_join.c63 pthread_t thread; in ATF_TC_BODY()
72 pthread_t thread[25]; in threadfunc1()
73 pthread_t caller; in threadfunc1()
/freebsd-12.1/contrib/gcclibs/libgomp/config/posix95/
H A Dlock.c71 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()
/freebsd-12.1/contrib/gcclibs/libmudflap/
H A Dmf-hooks3.c74 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()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/benchmarks/
H A Dvts_many_threads_bench.cc93 pthread_t *t = new pthread_t[n_threads]; in main()
95 pthread_t *g_t = new pthread_t[n_garbage_threads]; in main()
H A Dstart_many_threads.cc38 pthread_t *t = new pthread_t[n_threads]; in main()
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/dlopen/
H A Dt_main_pthread_create.c62 pthread_t thread; in ATF_TC_BODY()
80 pthread_t thread; in ATF_TC_BODY()
83 int (*testf_dso_pthread_create)(pthread_t *, pthread_attr_t *, in ATF_TC_BODY()
/freebsd-12.1/lib/libc/stdio/
H A D_flock_stub.c66 pthread_t curthread = _pthread_self(); in _flockfile()
93 pthread_t curthread = _pthread_self(); in _ftrylockfile()
114 pthread_t curthread = _pthread_self(); in _funlockfile()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dinterrupt.cc88 pthread_t m_child;
230 pthread_t self; in TEST_F()
289 pthread_t self, th0; in TEST_F()
373 pthread_t self; in TEST_F()
412 pthread_t self, th0, th1; in TEST_F()
487 pthread_t self, th0; in TEST_F()
554 pthread_t self; in TEST_F()
590 pthread_t self; in TEST_F()
629 pthread_t self; in TEST_F()
676 pthread_t th0; in TEST_F()
[all …]
H A Dnotify.cc165 pthread_t th0; in TEST_F()
189 pthread_t th0; in TEST_F()
229 pthread_t th0; in TEST_F()
273 pthread_t th0; in TEST_F()
313 pthread_t th0; in TEST_F()
338 pthread_t th0; in TEST_F()
398 pthread_t th0; in TEST_F()
421 pthread_t th0; in TEST_F()
459 pthread_t th0; in TEST_F()
502 pthread_t th0; in TEST_F()
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread_dbg/
H A Dt_threads.c78 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
139 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
209 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
282 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
363 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
436 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
510 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
584 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
665 pthread_t threads[MAX_THREADS]; in ATF_TC_BODY()
/freebsd-12.1/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dh_locking.c62 pthread_t t; in test_dl_iterate_phdr()
96 pthread_t t1, t2; in test_dlopen()
118 pthread_t t1, t2; in test_dlclose()
/freebsd-12.1/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_getenv_thread.c150 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY()
175 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY()
200 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY()
225 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY()
/freebsd-12.1/lib/libusb/
H A Dlibusb10.h104 pthread_t hotplug_handler;
105 pthread_t ctx_handler;
106 #define NO_THREAD ((pthread_t)-1)
/freebsd-12.1/lib/libc/tests/resolv/
H A Dresolv_test.c94 resolv_getaddrinfo(pthread_t self, char *host, int port) in resolv_getaddrinfo()
124 resolv_gethostby(pthread_t self, char *host) in resolv_gethostby()
147 resolv_getipnodeby(pthread_t self, char *host) in resolv_getipnodeby()
178 pthread_t self = pthread_self(); in resolvone()
221 pthread_t self; in run()
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/dlopen/dso/
H A Dh_pthread_dlopen.c49 int testf_dso_pthread_create(pthread_t *, const pthread_attr_t *,
77 testf_dso_pthread_create(pthread_t *thread, const pthread_attr_t *attr, in testf_dso_pthread_create()

1234567891011