/glibc-2.36/nptl/ |
D | tst-thread-exit-clobber.cc | 220 pthread_t thr in do_test() local 223 TEST_VERIFY (xpthread_join (thr) == NULL); in do_test() 226 thr = xpthread_create (NULL, &threadfunc<double, false>, in do_test() 228 TEST_VERIFY (xpthread_join (thr) == NULL); in do_test() 231 thr = xpthread_create (NULL, &threadfunc<unsigned int, true>, in do_test() 233 TEST_VERIFY (xpthread_join (thr) == NULL); in do_test() 236 thr = xpthread_create (NULL, &threadfunc<double, true>, in do_test() 238 TEST_VERIFY (xpthread_join (thr) == NULL); in do_test()
|
D | tst-thread_local1.cc | 152 pthread_t thr; in do_test() local 153 int ret = pthread_create (&thr, nullptr, func, nullptr); in do_test() 161 ret = pthread_join (thr, nullptr); in do_test() 173 std::thread thr{[func] {func (nullptr);}}; in do_test() local 174 thr.join (); in do_test()
|
D | tst-minstack-cancel.c | 41 pthread_t thr = xpthread_create (&attr, threadfunc, NULL); in do_test() local 42 xpthread_cancel (thr); in do_test() 43 TEST_VERIFY (xpthread_join (thr) == PTHREAD_CANCELED); in do_test()
|
D | tst-rwlock15.c | 93 pthread_t thr; in do_test() local 94 if (pthread_create (&thr, NULL, reader, NULL) != 0) in do_test() 105 if (pthread_join (thr, NULL) != 0) in do_test()
|
D | tst-rwlock20.c | 85 pthread_t thr[THREADS]; in do_test() local 101 thr[n] = xpthread_create (NULL, tf, (void *) (uintptr_t) n); in do_test() 111 xpthread_join (thr[n]); in do_test()
|
D | tst-thread-affinity-pthread2.c | 60 pthread_t thr; in run_affinity_access_thread() local 61 int ret = pthread_create (&thr, NULL, affinity_access_thread, &task); in run_affinity_access_thread() 68 ret = pthread_join (thr, NULL); in run_affinity_access_thread()
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-getpid3.c | 30 pthread_t thr; in do_test() local 31 int ret = pthread_create (&thr, NULL, pid_thread, NULL); in do_test() 39 ret = pthread_join (thr, &thr_ret); in do_test() 66 ret = pthread_create (&thr, NULL, pid_thread, NULL); in do_test() 73 ret = pthread_join (thr, &thr_ret); in do_test()
|
D | tst-pthread_kill-exited.c | 46 pthread_t thr = xpthread_create (NULL, noop_thread, NULL); in do_test() local 51 xpthread_kill (thr, SIGUSR1); in do_test() 55 TEST_COMPARE (compat_pthread_kill (thr, SIGUSR1), ESRCH); in do_test() 58 xpthread_join (thr); in do_test()
|
D | tst-pthread_cancel-exited.c | 35 pthread_t thr = xpthread_create (NULL, noop_thread, NULL); in do_test() local 39 xpthread_cancel (thr); in do_test() 40 xpthread_join (thr); in do_test()
|
D | tst-pthread_cancel-select-loop.c | 76 pthread_t thr = xpthread_create (NULL, canceled_thread_function, NULL); in do_test() local 77 xpthread_cancel (thr); in do_test() 78 TEST_VERIFY (xpthread_join (thr) == PTHREAD_CANCELED); in do_test()
|
/glibc-2.36/stdlib/ |
D | tst-makecontext.c | 29 __thread int thr; variable 55 if (i != othervar || thr != 94) in cf() 57 printf ("i %d thr %d\n", i, thr); in cf() 96 thr = 94; in do_test()
|
D | tst-thread-quick_exit.cc | 54 pthread_t thr; in do_test() local 55 int ret = pthread_create (&thr, NULL, non_main_thread, NULL); in do_test() 61 pthread_join (thr, NULL); in do_test()
|
/glibc-2.36/support/ |
D | xpthread_create.c | 25 pthread_t thr; in xpthread_create() local 27 ("pthread_create", pthread_create (&thr, attr, thread_func, closure)); in xpthread_create() 28 return thr; in xpthread_create()
|
D | xthread.h | 67 void xpthread_detach (pthread_t thr); 68 void xpthread_cancel (pthread_t thr); 69 void *xpthread_join (pthread_t thr); 87 void xpthread_kill (pthread_t thr, int signo);
|
D | xpthread_detach.c | 22 xpthread_detach (pthread_t thr) in xpthread_detach() argument 24 xpthread_check_return ("pthread_detach", pthread_detach (thr)); in xpthread_detach()
|
D | xpthread_cancel.c | 22 xpthread_cancel (pthread_t thr) in xpthread_cancel() argument 24 xpthread_check_return ("pthread_cancel", pthread_cancel (thr)); in xpthread_cancel()
|
/glibc-2.36/debug/ |
D | tst-read-chk-cancel.c | 43 pthread_t thr = xpthread_create (0, read_thread, (void *) 1L); in do_test() local 45 xpthread_cancel (thr); in do_test() 46 xpthread_join (thr); in do_test()
|
/glibc-2.36/elf/ |
D | tst-unwind-main.c | 50 pthread_t thr; in main() local 51 int rc = pthread_create (&thr, NULL, &func, NULL); in main() 54 rc = pthread_join (thr, NULL); in main()
|
D | tst-dlopen-tlsmodid.h | 70 pthread_t thr; in do_test() local 77 thr = xpthread_create (NULL, fn, NULL); in do_test() 78 xpthread_join (thr); in do_test()
|
D | tst-dl_find_object-threads.c | 59 pthread_t thr; member 178 data->thr = xpthread_create (NULL, verify_thread, data); in start_verify() 253 xpthread_join (data_mod2.thr); in do_test() 254 xpthread_join (data_mod4.thr); in do_test() 255 xpthread_join (data_mod7.thr); in do_test()
|
/glibc-2.36/htl/tests/ |
D | test-8.c | 38 thr (void *arg) in thr() function 57 err = pthread_create (&tid[i], 0, thr, 0); in main() 62 assert (thr (0) == 0); in main()
|
/glibc-2.36/resolv/ |
D | tst-res_hconf_reorder.c | 71 pthread_t thr[N]; in do_test() local 80 int rc = pthread_create (&thr[i], NULL, resolve, NULL); in do_test() 92 int rc = pthread_join (thr[i], &retval); in do_test()
|
/glibc-2.36/rt/ |
D | tst-timer3.c | 52 pthread_t thr; in do_test() local 53 res = pthread_create (&thr, NULL, &do_timer_create, &sigev); in do_test() 60 res = pthread_join (thr, &val); in do_test()
|
/glibc-2.36/benchtests/ |
D | Makefile | 419 for thr in 1 8 16 32; do \ 420 echo "Running $${run} $${thr}"; \ 421 $(run-bench) $${thr} > $${run}-$${thr}.out; \ 424 for thr in 8 16 32 64 128 256 512 1024 2048 4096; do \ 425 echo "Running $${run} $${thr}"; \ 426 $(run-bench) $${thr} > $${run}-$${thr}.out; \
|
/glibc-2.36/locale/ |
D | tst-localedef-path-norm.c | 236 pthread_t thr[ntests]; in do_test() local 245 thr[j] = xpthread_create (NULL, run_test, &tests[j]); in do_test() 248 TEST_VERIFY (xpthread_join (thr[j]) == NULL); in do_test()
|