Home
last modified time | relevance | path

Searched refs:newTh1 (Results 1 – 17 of 17) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_132.cpp44 pthread_t newTh1; in Testcase() local
47 ret = pthread_create(&newTh1, NULL, pthread_f01, NULL); in Testcase()
50 ret = pthread_join(newTh1, NULL); in Testcase()
53 ret = pthread_equal(newTh1, g_newTh); in Testcase()
56 ret = pthread_equal(newTh1, TestPthreadSelf()); in Testcase()
DIt_posix_pthread_134.cpp42 pthread_t newTh1, newTh2; in Testcase() local
45 ret = pthread_create(&newTh1, NULL, pthread_f01, NULL); in Testcase()
51 ret = pthread_equal(newTh1, newTh2); in Testcase()
54 ret = pthread_join(newTh1, NULL); in Testcase()
DIt_posix_pthread_205.cpp77 pthread_t newTh1, newTh2; in Testcase() local
89 ret = pthread_create(&newTh1, &attr, pthread_f01, NULL); in Testcase()
92 ret = pthread_create(&newTh2, &attr, pthread_f02, &newTh1); in Testcase()
100 ret = pthread_join(newTh1, NULL); in Testcase()
DIt_posix_pthread_206.cpp72 pthread_t newTh1; in Testcase() local
81 ret = pthread_create(&newTh1, &attr, pthread_f01, NULL); in Testcase()
84 ret = pthread_join(newTh1, NULL); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_132.c51 pthread_t newTh1; in Testcase() local
54 ret = pthread_create(&newTh1, NULL, PthreadF01, NULL); in Testcase()
57 ret = pthread_join(newTh1, NULL); in Testcase()
60 ret = pthread_equal(newTh1, g_newTh); in Testcase()
63 ret = pthread_equal(newTh1, TestPthreadSelf()); in Testcase()
DIt_posix_pthread_134.c49 pthread_t newTh1, newTh2; in Testcase() local
52 ret = pthread_create(&newTh1, NULL, PthreadF01, NULL); in Testcase()
58 ret = pthread_equal(newTh1, newTh2); in Testcase()
61 ret = pthread_join(newTh1, NULL); in Testcase()
DIt_posix_pthread_205.c84 pthread_t newTh1, newTh2; in Testcase() local
97 ret = pthread_create(&newTh1, &attr, PthreadF01, NULL); in Testcase()
100 ret = pthread_create(&newTh2, &attr, PthreadF02, &newTh1); in Testcase()
108 ret = pthread_join(newTh1, NULL); in Testcase()
DIt_posix_pthread_206.c79 pthread_t newTh1; in Testcase() local
88 ret = pthread_create(&newTh1, &attr, PthreadF01, NULL); in Testcase()
91 ret = pthread_join(newTh1, NULL); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/pthread/
DIt_posix_pthread_020.c41 pthread_t newTh1, newTh2; in Testcase() local
44 ret = pthread_create(&newTh1, NULL, PthreadF01, NULL); in Testcase()
50 ret = pthread_equal(newTh1, newTh2); in Testcase()
53 ret = pthread_join(newTh1, NULL); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
DIt_posix_queue_025.c83 pthread_t newTh1, newTh2; in Testcase() local
103 ret = pthread_create(&newTh1, &attr1, PthreadF01, NULL); in Testcase()
123 ret = PosixPthreadDestroy(&attr1, newTh1); in Testcase()
131 PosixPthreadDestroy(&attr1, newTh1); in Testcase()
DIt_posix_queue_036.c89 pthread_t newTh1, newTh2; in Testcase() local
104 ret = pthread_create(&newTh1, &attr1, PthreadF01, NULL); in Testcase()
123 ret = PosixPthreadDestroy(&attr1, newTh1); in Testcase()
130 PosixPthreadDestroy(&attr1, newTh1); in Testcase()
DIt_posix_queue_026.c93 pthread_t newTh1, newTh2; in Testcase() local
109 ret = pthread_create(&newTh1, &attr1, PthreadF01, NULL); in Testcase()
129 ret = PosixPthreadDestroy(&attr1, newTh1); in Testcase()
137 PosixPthreadDestroy(&attr1, newTh1); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/smoke/
DIt_posix_queue_053.cpp88 pthread_t newTh1, newTh2; in Testcase() local
103 ret = pthread_create(&newTh1, &attr1, PthreadF01, NULL); in Testcase()
126 ret = PosixPthreadDestroy(&attr1, newTh1); in Testcase()
133 PosixPthreadDestroy(&attr1, newTh1); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
DIt_posix_queue_040.cpp84 pthread_t newTh1, newTh2; in Testcase() local
106 ret = pthread_create(&newTh1, &attr1, PthreadF01, NULL); in Testcase()
126 ret = PosixPthreadDestroy(&attr1, newTh1); in Testcase()
134 PosixPthreadDestroy(&attr1, newTh1); in Testcase()
DIt_posix_queue_041.cpp93 pthread_t newTh1, newTh2; in Testcase() local
109 ret = pthread_create(&newTh1, &attr1, PthreadF01, NULL); in Testcase()
129 ret = PosixPthreadDestroy(&attr1, newTh1); in Testcase()
137 PosixPthreadDestroy(&attr1, newTh1); in Testcase()
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
Dpthread_cond_func_test.c604 pthread_t newTh1, newTh2; variable
628 ret = pthread_create(&newTh1, &attr, pthread_f08, NULL);
634 ret = pthread_join(newTh1, (void **)&result);
/kernel/liteos_m/testsuites/sample/posix/
Dpthread_func_test.c586 pthread_t newTh1, newTh2; variable
610 ret = pthread_create(&newTh1, &attr, PthreadFunc08, NULL);
616 ret = pthread_join(newTh1, (void **)&result);