Home
last modified time | relevance | path

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

/nptl/
A 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()
A Dtst-minstack-exit.c43 pthread_t thr = xpthread_create (&attr, threadfunc, NULL); in do_test() local
44 TEST_VERIFY (xpthread_join (thr) == threadfunc); in do_test()
A 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()
A 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()
A 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()
A 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()
A Dtst-pthread-attr-affinity-fail.c52 pthread_t thr; in do_test() local
53 TEST_COMPARE (pthread_create (&thr, &attr, thr_func, NULL), EINVAL); in do_test()
A Dtst-minstack-throw.cc81 pthread_t thr = xpthread_create (&attr, threadfunc, NULL); in do_test() local
82 TEST_VERIFY (xpthread_join (thr) == threadfunc); in do_test()
A 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()
A Dtst-pthread-attr-sigmask.c101 thrd_t thr; in check_c11_thread() local
102 TEST_VERIFY_EXIT (thrd_create (&thr, check_sigmask_thread_function_c11, in check_c11_thread()
104 TEST_VERIFY_EXIT (thrd_join (thr, NULL) == thrd_success); in check_c11_thread()
A Dtst-pthread-gdb-attach.c150 pthread_t thr = xpthread_create (NULL, subprocess_thread, NULL); in in_subprocess() local
151 TEST_VERIFY (xpthread_join (thr) == NULL); in in_subprocess()
A Dtst-default-attr.c49 thr (void *unused __attribute__ ((unused))) in thr() function
101 RETURN_IF_FAIL (pthread_create, &t, NULL, thr, NULL); in run_threads()

Completed in 13 milliseconds