Home
last modified time | relevance | path

Searched refs:thread1 (Results 1 - 15 of 15) sorted by relevance

/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A Dsignal_test_038.cpp48 pthread_t thread1; in TestCase() local
49 ret = pthread_create(&thread1, NULL, ThreadKillTest, 0); in TestCase()
54 ret = pthread_kill(thread1, INVAILD_SIG); in TestCase()
61 pthread_join(thread1, NULL); in TestCase()
H A Dsignal_test_016.cpp87 pthread_t thread, thread1, thread2; in TestMultiPthreadKillPendNormal() local
91 retValue = pthread_create(&thread1, NULL, ThreadSetDfl, 0); in TestMultiPthreadKillPendNormal()
105 pthread_join(thread1, NULL); in TestMultiPthreadKillPendNormal()
H A Dsignal_test_017.cpp103 pthread_t thread, thread1, thread2; in TestMultiPthreadFatherProcessExit() local
120 retValue = pthread_create(&thread1, NULL, ThreadSetDfl, 0); in TestMultiPthreadFatherProcessExit()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A DIt_posix_queue_079.cpp89 pthread_t thread1; in Testcase() local
101 ret = pthread_create(&thread1, NULL, PthreadF02, NULL); in Testcase()
121 ret = pthread_join(thread1, NULL); in Testcase()
134 pthread_join(thread1, NULL); in Testcase()
H A DIt_posix_queue_076.cpp56 pthread_t thread1; in PthreadF02() local
79 ret = pthread_create(&thread1, &attr1, PthreadF01, NULL); in PthreadF02()
89 ret = pthread_join(thread1, NULL); in PthreadF02()
106 PosixPthreadDestroy(&attr1, thread1); in PthreadF02()
H A DIt_posix_queue_078.cpp54 pthread_t thread1; in Testcase() local
95 ret = pthread_create(&thread1, &attr1, PthreadF01, NULL); in Testcase()
98 ret = pthread_join(thread1, NULL); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_087.c71 pthread_t thread1; in Testcase() local
82 rc = pthread_create(&thread1, NULL, PthreadF01, NULL); in Testcase()
85 while (!g_t1Start) { /* wait for thread1 started */ in Testcase()
97 rc = pthread_join(thread1, &thRet); in Testcase()
H A DIt_posix_pthread_085.c65 pthread_t thread1; in Testcase() local
75 rc = pthread_create(&thread1, NULL, PthreadF01, NULL); in Testcase()
78 while (!g_t1Start) { /* wait for thread1 started */ in Testcase()
90 fprintf(stderr, "Time to wake up thread1 by signaling a condition\n"); in Testcase()
95 rc = pthread_join(thread1, NULL); in Testcase()
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
H A Dsignal_test_013.cpp104 pthread_t thread, thread1, thread2; in TestSigMultiPthread() local
109 ret = pthread_create(&thread1, NULL, ThreadSetDfl, 0); in TestSigMultiPthread()
126 pthread_join(thread1, reinterpret_cast<void **>(&status1)); in TestSigMultiPthread()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_085.cpp58 pthread_t thread1; in Testcase() local
68 rc = pthread_create(&thread1, NULL, pthread_f01, NULL); in Testcase()
71 while (!g_t1Start) { /* wait for thread1 started */ in Testcase()
83 fprintf(stderr, "Time to wake up thread1 by signaling a condition\n"); in Testcase()
88 rc = pthread_join(thread1, NULL); in Testcase()
H A DIt_posix_pthread_087.cpp67 pthread_t thread1; in Testcase() local
78 rc = pthread_create(&thread1, NULL, pthread_f01, NULL); in Testcase()
81 while (!g_t1Start) { /* wait for thread1 started */ in Testcase()
93 rc = pthread_join(thread1, &thRet); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c166 void *(*thread1)(void *); member
215 .thread1 = pipe_thread1,
254 .thread1 = yield_thread1,
384 .thread1 = futex_thread1,
501 start_fn(actions->thread1, NULL, cpu1); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c166 void *(*thread1)(void *); member
215 .thread1 = pipe_thread1,
254 .thread1 = yield_thread1,
384 .thread1 = futex_thread1,
501 start_fn(actions->thread1, NULL, cpu1); in main()
/kernel/liteos_a/compat/posix/src/
H A Dpthread.c758 int pthread_equal(pthread_t thread1, pthread_t thread2) in pthread_equal() argument
760 return thread1 == thread2; in pthread_equal()
/kernel/liteos_m/kal/posix/src/
H A Dpthread.c297 int pthread_equal(pthread_t thread1, pthread_t thread2) in pthread_equal() argument
299 return (int)(thread1 == thread2); in pthread_equal()

Completed in 10 milliseconds