Home
last modified time | relevance | path

Searched refs:newTh2 (Results 1 - 25 of 39) sorted by relevance

12

/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_020.c41 pthread_t newTh1, newTh2; in Testcase() local
47 ret = pthread_create(&newTh2, NULL, PthreadF01, NULL); in Testcase()
50 ret = pthread_equal(newTh1, newTh2); in Testcase()
56 ret = pthread_join(newTh2, NULL); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_134.c49 pthread_t newTh1, newTh2; in Testcase() local
55 ret = pthread_create(&newTh2, NULL, PthreadF01, NULL); in Testcase()
58 ret = pthread_equal(newTh1, newTh2); in Testcase()
64 ret = pthread_join(newTh2, NULL); in Testcase()
H A DIt_posix_pthread_057.c60 pthread_t newTh, newTh2; in Testcase() local
66 ret = pthread_create(&newTh2, NULL, PthreadF01, NULL); in Testcase()
72 ret = pthread_cancel(newTh2); in Testcase()
75 ret = pthread_join(newTh2, (void *)&temp); in Testcase()
H A DIt_posix_pthread_101.c59 pthread_t newTh, newTh2; in Testcase() local
68 ret = pthread_create(&newTh2, &attr, PthreadF01, NULL); in Testcase()
73 ret = pthread_cancel(newTh2); in Testcase()
H A DIt_posix_pthread_035.c92 pthread_t newTh, newTh2, newTh3; in Testcase() local
102 ret = pthread_create(&newTh2, NULL, PthreadF02, NULL); in Testcase()
117 ret = pthread_join(newTh2, (void *)&temp); in Testcase()
H A DIt_posix_pthread_034.c91 pthread_t newTh, newTh2, newTh3; in Testcase() local
101 ret = pthread_create(&newTh2, NULL, PthreadF02, NULL); in Testcase()
113 ret = pthread_join(newTh2, (void *)&temp); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_134.cpp42 pthread_t newTh1, newTh2; in Testcase() local
48 ret = pthread_create(&newTh2, NULL, pthread_f01, NULL); in Testcase()
51 ret = pthread_equal(newTh1, newTh2); in Testcase()
57 ret = pthread_join(newTh2, NULL); in Testcase()
H A DIt_posix_pthread_091.cpp79 pthread_t newTh, newTh2; in Testcase() local
88 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase()
94 ret = pthread_cancel(newTh2); in Testcase()
105 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase()
H A DIt_posix_pthread_106.cpp43 pthread_t newTh2; in Testcase() local
53 ret = pthread_create(&newTh2, &attr, pthread_f01, NULL); in Testcase()
59 ret = pthread_detach(newTh2); in Testcase()
H A DIt_posix_pthread_035.cpp95 pthread_t newTh, newTh2, newTh3; in Testcase() local
105 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase()
120 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase()
H A DIt_posix_pthread_034.cpp84 pthread_t newTh, newTh2, newTh3; in Testcase() local
94 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase()
106 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
H A DIt_posix_mutex_070.c95 pthread_t newTh2; in Testcase() local
115 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
123 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()
138 PosixPthreadDestroy(&attr, newTh2); in Testcase()
H A DIt_posix_mutex_071.c89 pthread_t newTh2; in Testcase() local
106 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
118 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()
H A DIt_posix_mutex_072.c89 pthread_t newTh2; in Testcase() local
106 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
118 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()
H A DIt_posix_mutex_099.c91 pthread_t newTh2; in Testcase() local
103 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
115 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()
H A DIt_posix_mutex_068.c88 pthread_t newTh2; in Testcase() local
107 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
125 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
H A DIt_posix_queue_026.c93 pthread_t newTh1, newTh2; in Testcase() local
118 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
126 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
135 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
H A DIt_posix_queue_025.c83 pthread_t newTh1, newTh2; in Testcase() local
112 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
120 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
129 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
H A DIt_posix_queue_036.c89 pthread_t newTh1, newTh2; in Testcase() local
112 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
120 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
128 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A DIt_posix_queue_040.cpp84 pthread_t newTh1, newTh2; in Testcase() local
115 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
123 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
132 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
H A DIt_posix_queue_041.cpp93 pthread_t newTh1, newTh2; in Testcase() local
118 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
126 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
135 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
H A DIt_posix_queue_097.cpp93 pthread_t newTh, newTh2; in Testcase() local
115 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
123 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
132 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/smoke/
H A DIt_posix_queue_053.cpp88 pthread_t newTh1, newTh2; in Testcase() local
111 ret = pthread_create(&newTh2, &attr1, PthreadF02, NULL); in Testcase()
123 ret = PosixPthreadDestroy(&attr1, newTh2); in Testcase()
131 PosixPthreadDestroy(&attr1, newTh2); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mutex/
H A DIt_posix_mutex_041.c81 pthread_t newTh2; in Testcase() local
100 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
118 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()
H A DIt_posix_mutex_042.c82 pthread_t newTh2; in Testcase() local
99 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase()
111 ret = PosixPthreadDestroy(&attr2, newTh2); in Testcase()

Completed in 6 milliseconds

12