Home
last modified time | relevance | path

Searched refs:thr (Results 1 – 25 of 61) sorted by relevance

123

/glibc-2.36/nptl/
Dtst-thread-exit-clobber.cc220 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()
Dtst-thread_local1.cc152 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()
Dtst-minstack-cancel.c41 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()
Dtst-rwlock15.c93 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()
Dtst-rwlock20.c85 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()
Dtst-thread-affinity-pthread2.c60 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/
Dtst-getpid3.c30 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()
Dtst-pthread_kill-exited.c46 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()
Dtst-pthread_cancel-exited.c35 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()
Dtst-pthread_cancel-select-loop.c76 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/
Dtst-makecontext.c29 __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()
Dtst-thread-quick_exit.cc54 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/
Dxpthread_create.c25 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()
Dxthread.h67 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);
Dxpthread_detach.c22 xpthread_detach (pthread_t thr) in xpthread_detach() argument
24 xpthread_check_return ("pthread_detach", pthread_detach (thr)); in xpthread_detach()
Dxpthread_cancel.c22 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/
Dtst-read-chk-cancel.c43 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/
Dtst-unwind-main.c50 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()
Dtst-dlopen-tlsmodid.h70 pthread_t thr; in do_test() local
77 thr = xpthread_create (NULL, fn, NULL); in do_test()
78 xpthread_join (thr); in do_test()
Dtst-dl_find_object-threads.c59 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/
Dtest-8.c38 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/
Dtst-res_hconf_reorder.c71 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/
Dtst-timer3.c52 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/
DMakefile419 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/
Dtst-localedef-path-norm.c236 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()

123