/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
D | thread_pthrd_test.cpp | 86 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/ |
D | pthread_rwlock_rdlock.c | 54 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 …]
|
D | pthread_rwlock_wrlock.c | 236 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 …]
|
D | pthread_cond_timedwait.c | 271 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 …]
|
D | pthread_mutex_ext.c | 53 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/ |
D | dl_multithread_test.c | 50 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()
|
D | pthread_cond.c | 47 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()
|
D | pthread_cancel.c | 75 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()
|
D | sem_init.c | 44 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/ |
D | accept4.c | 269 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/ |
D | pthread_cancel-sem_wait.c | 63 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()
|
D | pthread_once-deadlock.c | 65 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/ |
D | stress.c | 285 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/ |
D | pthread_mutex_lock.c | 73 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()
|
D | pthread_create.c | 47 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()
|
D | pthread_mutex_unlock.c | 55 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()
|
D | pthread_equal.c | 67 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/ |
D | send_rev_2.c | 132 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/ |
D | 6-3.c | 152 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()
|
D | 4-1.c | 71 (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/ |
D | libc_pthread.cpp | 439 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/ |
D | pthread_fortify_test.c | 54 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/ |
D | 4-2.c | 295 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/ |
D | 4-1.c | 318 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/ |
D | 4-2.c | 250 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()
|