/third_party/musl/libc-test/src/functionalext/thread/ |
H A D | pthread_cond_timedwait.c | 267 pthread_t tid2; in clockwait_timedwait_0010() local 269 EXPECT_EQ(pthread_create(&tid2, NULL, ClockWaitTimedwait2, NULL), 0); in clockwait_timedwait_0010() 272 pthread_join(tid2, NULL); in clockwait_timedwait_0010() 345 pthread_t tid2; in clockwait_timedwait_0030() local 347 EXPECT_EQ(pthread_create(&tid2, NULL, ClockWaitTimedwait4, NULL), 0); in clockwait_timedwait_0030() 350 pthread_join(tid2, NULL); in clockwait_timedwait_0030() 443 pthread_t tid2; in clockwait_timedwait_0050() local 445 EXPECT_EQ(pthread_create(&tid2, NULL, ClockWaitTimeMismatch2, NULL), 0); in clockwait_timedwait_0050() 449 pthread_join(tid2, NULL); in clockwait_timedwait_0050() 521 pthread_t tid2; in clockwait_timedwait_0070() local 568 pthread_t tid2; monotonic_timewait_0010() local 673 pthread_t tid2; timeoutnp_timewait_0010() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_once.c | 50 pthread_t tid1, tid2; in pthread_once_0100() local 52 pthread_create(&tid2, NULL, threadfuncB, NULL); in pthread_once_0100() 54 pthread_join(tid2, NULL); in pthread_once_0100()
|
H A D | mtx_trylock.c | 82 thrd_t tid2; in mtx_trylock_0200() local 83 result = thrd_create(&tid2, threadfuncB, NULL); in mtx_trylock_0200() 88 result = thrd_join(tid2, NULL); in mtx_trylock_0200()
|
H A D | pthread_key_create.c | 70 pthread_t tid2; in pthread_key_create_0200() local 72 pthread_create(&tid2, NULL, threadfuncB, NULL); in pthread_key_create_0200() 73 pthread_join(tid2, NULL); in pthread_key_create_0200()
|
H A D | pthread_mutex_unlock.c | 68 pthread_t tid2, tid3; in pthread_mutex_un_lock_0200() local 69 pthread_create(&tid2, NULL, threadfuncB, NULL); in pthread_mutex_un_lock_0200() 70 pthread_join(tid2, NULL); in pthread_mutex_un_lock_0200()
|
H A D | pthread_setspecific.c | 67 pthread_t tid2; in pthread_setspecific_0200() local 68 pthread_create(&tid2, NULL, threadfuncB, NULL); in pthread_setspecific_0200() 69 pthread_join(tid2, NULL); in pthread_setspecific_0200()
|
H A D | pthread_mutex_lock.c | 85 pthread_t tid2; in pthread_mutex_lock_0200() local 86 pthread_create(&tid2, NULL, threadfuncB, NULL); in pthread_mutex_lock_0200() 87 pthread_join(tid2, NULL); in pthread_mutex_lock_0200()
|
H A D | mtx_lock.c | 111 thrd_t tid2; in mtx_lock_0200() local 112 thrd_create(&tid2, threadfuncB, NULL); in mtx_lock_0200() 117 thrd_join(tid2, NULL); in mtx_lock_0200()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/ |
H A D | twoevtimers.c | 44 timer_t tid1, tid2; in main() local 70 (timer_create(CLOCK_REALTIME, &ev2, &tid2) != 0)) { in main() 91 if (timer_settime(tid2, flags, &its, NULL) != 0) { in main()
|
/test/xts/acts/kernel_lite/ipc_posix/semaphore/ |
H A D | SemTest.cpp | 362 pthread_t tid2; in HWTEST_F() local 372 reInt = pthread_create(&tid2, nullptr, ThreadNThreadWait2, (void*)&sem); in HWTEST_F() 395 reInt = pthread_join(tid2, nullptr); in HWTEST_F() 434 pthread_t tid2; in HWTEST_F() local 445 reInt = pthread_create(&tid2, nullptr, ThreadNThreadPost2, (void*)&sem); in HWTEST_F() 462 reInt = pthread_join(tid2, nullptr); in HWTEST_F()
|
/test/xts/acts/kernel_lite/futex_posix/src/ |
H A D | PthreadCondTest.cpp | 288 pthread_t tid2; in HWTEST_F() local 292 ASSERT_EQ(pthread_create(&tid2, nullptr, ThreadPthreadCondTimedwait2, nullptr), 0) << "> return errno"; in HWTEST_F() 296 pthread_join(tid2, nullptr); in HWTEST_F()
|
/test/xts/acts/kernel_lite/sched_posix/src/ |
H A D | PthreadSchedApiTest.cpp | 509 pthread_t tid2;
in HWTEST_F() local 539 ASSERT_EQ(pthread_create(&tid2, &attr, ThreadTestFifoSched2, (void*)&sem), 0) << "> return errno";
in HWTEST_F() 548 EXPECT_EQ(pthread_join(tid2, nullptr), 0) << "> return errno";
in HWTEST_F()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
H A D | cpuset_memory_testset.sh | 472 read tid2 475 echo $tid2
|