/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_012.cpp | 47 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()
|
D | process_test_011.cpp | 47 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()
|
D | process_test_014.cpp | 53 pthread_t newPthread; in TestCase() local 59 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in TestCase() 79 ret = pthread_join(newPthread, NULL); in TestCase()
|
D | process_test_009.cpp | 46 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()
|
D | process_test_015.cpp | 55 pthread_t newPthread; in ProcessTest() local 71 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest() 81 ret = pthread_join(newPthread, NULL); in ProcessTest()
|
D | process_test_016.cpp | 55 pthread_t newPthread; in ProcessTest() local 73 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest() 83 ret = pthread_join(newPthread, NULL); in ProcessTest()
|
D | process_test_008.cpp | 54 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()
|
D | process_test_017.cpp | 57 pthread_t newPthread; in ProcessTest() local 73 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest() 84 ret = pthread_join(newPthread, NULL); in ProcessTest()
|
D | process_test_019.cpp | 55 pthread_t newPthread; in ProcessTest() local 80 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in ProcessTest() 90 ret = pthread_join(newPthread, NULL); in ProcessTest()
|
D | process_test_018.cpp | 55 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/ |
D | pthread_test_004.cpp | 62 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 …]
|
D | pthread_test_001.cpp | 146 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/ |
D | pthread_mutex_test_003.cpp | 78 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()
|
D | pthread_mutex_test_017.cpp | 80 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()
|
D | pthread_mutex_test_020.cpp | 134 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()
|
D | pthread_mutex_test_008.cpp | 122 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()
|
D | pthread_mutex_test_021.cpp | 134 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()
|
D | pthread_mutex_test_022.cpp | 134 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()
|
D | pthread_mutex_test_004.cpp | 126 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()
|
D | pthread_mutex_test_005.cpp | 128 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()
|
D | pthread_mutex_test_006.cpp | 125 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/ |
D | pthread_test_003.cpp | 86 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()
|
D | pthread_test_006.cpp | 88 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()
|
D | pthread_once_test_001.cpp | 82 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/ |
D | shm_test_001.cpp | 132 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()
|