Home
last modified time | relevance | path

Searched refs:pthread_join (Results 1 – 25 of 538) sorted by relevance

12345678910>>...22

/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dthread_pthrd_test.cpp86 EXPECT_EQ(0, pthread_join(thread, nullptr));
98 pthread_join(deadThread, nullptr);
123 pthread_join(deadThread, nullptr);
186 pthread_join(signalThread, nullptr);
204 EXPECT_EQ(0, pthread_join(thread, &realRes));
226 EXPECT_EQ(0, pthread_join(thread, nullptr));
298 pthread_join(deadThread, nullptr);
338 pthread_join(deadThread, nullptr);
354 pthread_join(deadThread, nullptr);
395 EXPECT_EQ(0, pthread_join(thread, nullptr));
[all …]
/third_party/musl/libc-test/src/functionalext/thread/
Dpthread_rwlock_rdlock.c54 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_clockrdlock_0010()
55 TEST(pthread_join(tid[1], NULL) == 0); in pthread_rwlock_clockrdlock_0010()
98 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_clockrdlock_0020()
99 TEST(pthread_join(tid[1], NULL) == 0); in pthread_rwlock_clockrdlock_0020()
139 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_clockrdlock_0030()
140 TEST(pthread_join(tid[1], NULL) == 0); in pthread_rwlock_clockrdlock_0030()
183 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_clockrdlock_0040()
184 TEST(pthread_join(tid[1], NULL) == 0); in pthread_rwlock_clockrdlock_0040()
223 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_timedrdlock_monotonic_np_0010()
224 TEST(pthread_join(tid[1], NULL) == 0); in pthread_rwlock_timedrdlock_monotonic_np_0010()
[all …]
Dpthread_rwlock_wrlock.c236 EXPECT_EQ(pthread_join(tid[0], NULL), 0); in pthread_rwlock_timedwrlock_0050()
237 EXPECT_EQ(pthread_join(tid[1], NULL), 0); in pthread_rwlock_timedwrlock_0050()
254 EXPECT_EQ(pthread_join(tid[0], NULL), 0); in pthread_rwlock_timedwrlock_0060()
255 EXPECT_EQ(pthread_join(tid[1], NULL), 0); in pthread_rwlock_timedwrlock_0060()
272 EXPECT_EQ(pthread_join(tid[0], NULL), 0); in pthread_rwlock_timedwrlock_0070()
273 EXPECT_EQ(pthread_join(tid[1], NULL), 0); in pthread_rwlock_timedwrlock_0070()
290 EXPECT_EQ(pthread_join(tid[0], NULL), 0); in pthread_rwlock_timedwrlock_0080()
291 EXPECT_EQ(pthread_join(tid[1], NULL), 0); in pthread_rwlock_timedwrlock_0080()
308 EXPECT_EQ(pthread_join(tid[0], NULL), 0); in pthread_rwlock_timedwrlock_0090()
309 EXPECT_EQ(pthread_join(tid[1], NULL), 0); in pthread_rwlock_timedwrlock_0090()
[all …]
Dpthread_cond_timedwait.c271 pthread_join(tid1, NULL); in clockwait_timedwait_0010()
272 pthread_join(tid2, NULL); in clockwait_timedwait_0010()
306 pthread_join(tid, NULL); in clockwait_timedwait_0020()
349 pthread_join(tid1, NULL); in clockwait_timedwait_0030()
350 pthread_join(tid2, NULL); in clockwait_timedwait_0030()
384 pthread_join(tid, NULL); in clockwait_timedwait_0040()
448 pthread_join(tid1, NULL); in clockwait_timedwait_0050()
449 pthread_join(tid2, NULL); in clockwait_timedwait_0050()
450 pthread_join(tid, NULL); in clockwait_timedwait_0050()
487 pthread_join(tid, NULL); in clockwait_timedwait_0060()
[all …]
Dpthread_mutex_ext.c53 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_clocklock_0010()
84 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_clocklock_0020()
121 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_clocklock_0030()
152 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_clocklock_0040()
192 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_clocklock_0050()
227 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_clocklock_0060()
268 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_timedlock_monotonic_np_0010()
299 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_timedlock_monotonic_np_0020()
351 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_lock_timeout_np_0010()
383 TEST(pthread_join(tid, NULL) == 0); in pthread_mutex_lock_timeout_np_0020()
/third_party/musl/libc-test/src/functional/
Ddl_multithread_test.c50 pthread_join(thd1, &res); in main()
51 pthread_join(thd2, &res); in main()
52 pthread_join(thd3, &res); in main()
53 pthread_join(thd4, &res); in main()
54 pthread_join(thd5, &res); in main()
Dpthread_cond.c47 TEST(r, pthread_join(td, &res), ""); in main()
72 TEST(r, pthread_join(td1, 0), ""); in main()
73 TEST(r, pthread_join(td2, 0), ""); in main()
74 TEST(r, pthread_join(td3, 0), ""); in main()
92 TEST(r, pthread_join(td1, 0), ""); in main()
93 TEST(r, pthread_join(td2, 0), ""); in main()
94 TEST(r, pthread_join(td3, 0), ""); in main()
Dpthread_cancel.c75 TESTR(r, pthread_join(td, &res), "joining canceled thread"); in main()
82 TESTR(r, pthread_join(td, &res), "joining canceled thread"); in main()
90 TESTR(r, pthread_join(td, &res), "joining canceled thread"); in main()
Dsem_init.c44 T2(r,pthread_join(t[0],&p)); in many_waiters()
45 T2(r,pthread_join(t[1],&p)); in many_waiters()
46 T2(r,pthread_join(t[2],&p)); in many_waiters()
/third_party/musl/libc-test/src/functionalext/supplement/network/
Daccept4.c269 ret = pthread_join(cli, NULL); in accept4_0100()
271 ret = pthread_join(srv, NULL); in accept4_0100()
292 ret = pthread_join(cli, NULL); in accept4_0200()
294 ret = pthread_join(srv, NULL); in accept4_0200()
315 ret = pthread_join(cli, NULL); in accept4_0300()
317 ret = pthread_join(srv, NULL); in accept4_0300()
352 ret = pthread_join(cli, NULL); in accept4_0500()
354 ret = pthread_join(srv, NULL); in accept4_0500()
375 ret = pthread_join(cli, NULL); in accept4_0600()
377 ret = pthread_join(srv, NULL); in accept4_0600()
/third_party/musl/libc-test/src/regression/
Dpthread_cancel-sem_wait.c63 TESTR(r, pthread_join(td, &res), "joining canceled thread after uncontended sem_wait"); in main()
73 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking sem_wait"); in main()
83 TESTR(r, pthread_join(td, &res), "joining canceled thread after uncontended sem_timedwait"); in main()
93 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking sem_timedwait"); in main()
103 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking __sem_timedwait_time64"); in main()
Dpthread_once-deadlock.c65 if (!deadlocked(&s1)) T(pthread_join(t1,&p)); in main()
66 if (!deadlocked(&s2)) T(pthread_join(t2,&p)); in main()
67 if (!deadlocked(&s3)) T(pthread_join(t3,&p)); in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
Dstress.c285 ret = pthread_join(fl_snd1, NULL); in main()
291 ret = pthread_join(fl_snd2, NULL); in main()
298 ret = pthread_join(fl_rec, NULL); in main()
304 ret = pthread_join(sy_snd, NULL); in main()
312 ret = pthread_join(sy_rec, NULL); in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_mutex_lock.c73 pthread_join(tid1, NULL); in pthread_mutex_lock_0100()
88 pthread_join(tid2, NULL); in pthread_mutex_lock_0200()
104 pthread_join(tid3, NULL); in pthread_mutex_lock_0300()
120 pthread_join(tid4, NULL); in pthread_mutex_lock_0400()
Dpthread_create.c47 pthread_join(ph, NULL); in pthread_create_0100()
61 pthread_join(ph, NULL); in pthread_create_0200()
77 pthread_join(ph, NULL); in pthread_create_0300()
105 pthread_join(ph, NULL); in pthread_create_0400()
Dpthread_mutex_unlock.c55 pthread_join(tid1, NULL); in pthread_mutex_un_lock_0100()
70 pthread_join(tid2, NULL); in pthread_mutex_un_lock_0200()
72 pthread_join(tid3, NULL); in pthread_mutex_un_lock_0200()
Dpthread_equal.c67 result = pthread_join(pthread1, NULL); in pthread_equal_0100()
71 pthread_join(pthread2, NULL); in pthread_equal_0100()
92 result = pthread_join(g_pthd_2, NULL); in pthread_equal_0200()
/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_2.c132 pthread_join(send1, NULL); in main()
133 pthread_join(send2, NULL); in main()
134 pthread_join(rev1, NULL); in main()
135 pthread_join(rev2, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D6-3.c152 ret = pthread_join(child, NULL); in test()
246 ret = pthread_join(th_sig1, NULL); in main()
250 ret = pthread_join(th_sig2, NULL); in main()
254 ret = pthread_join(th_work, NULL); in main()
D4-1.c71 (void)pthread_join(*(pthread_t *) arg, NULL); in joiner_func()
159 ret = pthread_join(joiner, NULL); in main()
170 ret = pthread_join(child, NULL); in main()
/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp439 pthread_join(threadOne, nullptr); in Bm_function_pthread_cond_broadcast()
440 pthread_join(threadTwo, nullptr); in Bm_function_pthread_cond_broadcast()
441 pthread_join(threadThree, nullptr); in Bm_function_pthread_cond_broadcast()
493 pthread_join(threadOne, nullptr); in Bm_function_pthread_cond_signal_wait()
532 pthread_join(thread1, nullptr); in Bm_function_pthread_equal()
533 pthread_join(thread2, nullptr); in Bm_function_pthread_equal()
553 pthread_join(thread1, nullptr); in Bm_function_pthread_attr_init_destroy()
554 pthread_join(thread2, nullptr); in Bm_function_pthread_attr_init_destroy()
595 pthread_join(tid, nullptr); in Bm_function_pthread_spin_lock_and_spin_unlock()
651 pthread_join(tid, nullptr); in Bm_function_pthread_setname_np()
[all …]
/third_party/musl/libc-test/src/functionalext/fortify/
Dpthread_fortify_test.c54 T(pthread_join(t, &p)); in test_pthread_mutex_lock_after_destroyed()
81 T(pthread_join(t, &p)); in test_pthread_mutex_unlock_after_destroyed()
110 T(pthread_join(t, &p)); in test_pthread_mutex_timedlock_after_destroyed()
137 T(pthread_join(t, &p)); in test_pthread_mutex_trylock_after_destroyed()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D4-2.c295 if ((ret = pthread_join(th_sig1, NULL))) { in main()
298 if ((ret = pthread_join(th_sig2, NULL))) { in main()
301 if ((ret = pthread_join(th_waiter, NULL))) { in main()
304 if ((ret = pthread_join(th_worker, NULL))) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D4-1.c318 if ((ret = pthread_join(th_sig1, NULL))) { in main()
321 if ((ret = pthread_join(th_sig2, NULL))) { in main()
324 if ((ret = pthread_join(th_waiter, NULL))) { in main()
327 if ((ret = pthread_join(th_worker, NULL))) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D4-2.c250 ret = pthread_join(th_sig1, NULL); in main()
253 ret = pthread_join(th_sig2, NULL); in main()
257 ret = pthread_join(th_waiter[i], NULL); in main()
261 ret = pthread_join(th_worker, NULL); in main()

12345678910>>...22