Home
last modified time | relevance | path

Searched refs:newPthread (Results 1 – 25 of 49) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_012.cpp47 pthread_t newPthread; in ThreadFunc001() local
53 ret = pthread_create(&newPthread, NULL, ThreadFunc2, NULL); in ThreadFunc001()
79 pthread_t newPthread; in ThreadFunc() local
92 ret = pthread_create(&newPthread, &a, ThreadFunc001, 0); in ThreadFunc()
95 ret = pthread_join(newPthread, NULL); in ThreadFunc()
109 pthread_t newPthread; in TestCase() local
114 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in TestCase()
117 ret = pthread_join(newPthread, NULL); in TestCase()
Dprocess_test_011.cpp47 pthread_t newPthread; in ThreadFunc() local
52 ret = pthread_create(&newPthread, NULL, ThreadFunc2, NULL); in ThreadFunc()
78 pthread_t newPthread; in TestCase() local
83 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in TestCase()
86 ret = pthread_join(newPthread, NULL); in TestCase()
Dprocess_test_014.cpp53 pthread_t newPthread; in TestCase() local
59 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in TestCase()
79 ret = pthread_join(newPthread, NULL); in TestCase()
Dprocess_test_009.cpp46 pthread_t newPthread, newPthread1; in ProcessTest001() local
64 ret = pthread_create(&newPthread, NULL, ThreadFunc2, NULL); in ProcessTest001()
67 ret = pthread_create(&newPthread, NULL, ThreadFunc2, NULL); in ProcessTest001()
Dprocess_test_015.cpp55 pthread_t newPthread; in ProcessTest() local
71 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest()
81 ret = pthread_join(newPthread, NULL); in ProcessTest()
Dprocess_test_016.cpp55 pthread_t newPthread; in ProcessTest() local
73 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest()
83 ret = pthread_join(newPthread, NULL); in ProcessTest()
Dprocess_test_008.cpp54 pthread_t newPthread, newPthread1; in ProcessTest001() local
71 ret = pthread_create(&newPthread, &a, ThreadFunc3, &data); in ProcessTest001()
75 ret = pthread_create(&newPthread, NULL, ThreadFunc2, &data); in ProcessTest001()
Dprocess_test_017.cpp57 pthread_t newPthread; in ProcessTest() local
73 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest()
84 ret = pthread_join(newPthread, NULL); in ProcessTest()
Dprocess_test_019.cpp55 pthread_t newPthread; in ProcessTest() local
80 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest()
90 ret = pthread_join(newPthread, NULL); in ProcessTest()
Dprocess_test_018.cpp55 pthread_t newPthread; in ProcessTest() local
74 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest()
93 ret = pthread_join(newPthread, NULL); in ProcessTest()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_004.cpp62 pthread_t newPthread; in ThreadFunc7() local
77 ret = pthread_create(&newPthread, &a, ThreadFunc8, 0); in ThreadFunc7()
97 pthread_t newPthread; in ThreadFunc5() local
112 ret = pthread_create(&newPthread, &a, ThreadFunc7, 0); in ThreadFunc5()
115 ret = pthread_join(newPthread, &res); in ThreadFunc5()
231 pthread_t newPthread; in threadFunc() local
245 ret = pthread_create(&newPthread, &a, threadFunc2, 0); in threadFunc()
263 ret = pthread_create(&newPthread, &a, ThreadFunc3, 0); in threadFunc()
273 ret = pthread_join(newPthread, &res); in threadFunc()
287 ret = pthread_create(&newPthread, &a, ThreadFunc4, 0); in threadFunc()
[all …]
Dpthread_test_001.cpp146 pthread_t newPthread; in ThreadFunc() local
164 ret = pthread_create(&newPthread, &a, ThreadFunc2, 0); in ThreadFunc()
178 ret = pthread_create(&newPthread, &a, ThreadFunc3, 0); in ThreadFunc()
183 ret = pthread_join(newPthread, &res); in ThreadFunc()
193 ret = pthread_create(&newPthread, &a, ThreadFunc4, 0); in ThreadFunc()
199 ret = pthread_join(newPthread, &res); in ThreadFunc()
215 pthread_t newPthread, newPthread1; in PthreadTest001() local
232 ret = pthread_create(&newPthread, &a, ThreadFunc, 0); in PthreadTest001()
249 ret = pthread_join(newPthread, &res); in PthreadTest001()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_003.cpp78 pthread_t newPthread; in Testcase() local
103 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
110 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
117 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
123 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
129 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
135 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
Dpthread_mutex_test_017.cpp80 pthread_t newPthread; in TestCase() local
104 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in TestCase()
111 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest2, 0); in TestCase()
121 ret = pthread_join(newPthread, nullptr); in TestCase()
Dpthread_mutex_test_020.cpp134 pthread_t newPthread[10], newPthread1; in Testcase() local
164 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase()
168 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase()
173 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest1, 0); in Testcase()
196 ret = pthread_join(newPthread[threadCount], nullptr); in Testcase()
Dpthread_mutex_test_008.cpp122 pthread_t newPthread; in Testcase() local
137 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest1, 0); in Testcase()
140 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest2, 0); in Testcase()
143 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest3, 0); in Testcase()
Dpthread_mutex_test_021.cpp134 pthread_t newPthread[10], newPthread1; in Testcase() local
166 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase()
169 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest1, 0); in Testcase()
193 ret = pthread_join(newPthread[threadCount], nullptr); in Testcase()
Dpthread_mutex_test_022.cpp134 pthread_t newPthread[10], newPthread1; in Testcase() local
166 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest1, 0); in Testcase()
169 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase()
193 ret = pthread_join(newPthread[threadCount], nullptr); in Testcase()
Dpthread_mutex_test_004.cpp126 pthread_t newPthread; in Testcase() local
151 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest1, 0); in Testcase()
158 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest2, 0); in Testcase()
165 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest3, 0); in Testcase()
Dpthread_mutex_test_005.cpp128 pthread_t newPthread; in Testcase() local
153 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest3, 0); in Testcase()
160 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest2, 0); in Testcase()
167 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest1, 0); in Testcase()
Dpthread_mutex_test_006.cpp125 pthread_t newPthread; in Testcase() local
149 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest1, 0); in Testcase()
156 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest3, 0); in Testcase()
163 ret = pthread_create(&newPthread, nullptr, ThreadFuncTest2, 0); in Testcase()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
Dpthread_test_003.cpp86 pthread_t newPthread, newPthread1; in Testcase() local
96 ret = pthread_create(&newPthread, NULL, ThreadFuncTest2, 0); in Testcase()
99 ret = pthread_join(newPthread, &res); in Testcase()
109 ret = pthread_create(&newPthread, NULL, ThreadFuncTest3, 0); in Testcase()
112 ret = pthread_join(newPthread, &res); in Testcase()
Dpthread_test_006.cpp88 pthread_t newPthread[10], newPthread1; in Testcase() local
109 ret = pthread_create(&newPthread[index], &a, ThreadFuncTest0, &threadParam[0]); in Testcase()
116 ret = pthread_create(&newPthread[index], &a, ThreadFuncTest1, &threadParam[index]); in Testcase()
125 ret = pthread_create(&newPthread[index], &a, ThreadFuncTest2, &threadParam[index]); in Testcase()
135 ret = pthread_join(newPthread[index], NULL); in Testcase()
Dpthread_once_test_001.cpp82 pthread_t newPthread; in Testcase() local
98 ret = pthread_create(&newPthread, &a, ThreadFuncTest, 0); in Testcase()
101 ret = pthread_join(newPthread, NULL); in Testcase()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
Dshm_test_001.cpp132 pthread_t newPthread[2]; in Testcase() local
149 ret = pthread_create(&newPthread[0], &a, ShmReadFunc, NULL); in Testcase()
152 ret = pthread_create(&newPthread[1], &a, ShmWriteFunc, NULL); in Testcase()
155 ret = pthread_join(newPthread[0], nullptr); in Testcase()
158 ret = pthread_join(newPthread[1], nullptr); in Testcase()

12