/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/full/ |
D | pthread_rwlock_test_002.cpp | 103 SLEEP_AND_YIELD(1); in ThreadReadFunc() 115 SLEEP_AND_YIELD(1); in ThreadReadFunc() 143 SLEEP_AND_YIELD(1); in ThreadWriteFunc1() 161 SLEEP_AND_YIELD(1); in ThreadWriteFunc1() 167 SLEEP_AND_YIELD(1); in ThreadWriteFunc1() 185 SLEEP_AND_YIELD(1); in ThreadWriteFunc() 203 SLEEP_AND_YIELD(1); in ThreadWriteFunc() 210 SLEEP_AND_YIELD(1); in ThreadWriteFunc()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
D | pthread_mutex_test_004.cpp | 154 SLEEP_AND_YIELD(1); in Testcase() 161 SLEEP_AND_YIELD(1); in Testcase() 168 SLEEP_AND_YIELD(1); in Testcase() 174 SLEEP_AND_YIELD(1); in Testcase() 179 SLEEP_AND_YIELD(1); in Testcase() 184 SLEEP_AND_YIELD(1); in Testcase()
|
D | pthread_mutex_test_005.cpp | 156 SLEEP_AND_YIELD(1); in Testcase() 163 SLEEP_AND_YIELD(1); in Testcase() 170 SLEEP_AND_YIELD(1); in Testcase() 176 SLEEP_AND_YIELD(1); in Testcase() 180 SLEEP_AND_YIELD(1); in Testcase() 184 SLEEP_AND_YIELD(1); in Testcase()
|
D | pthread_mutex_test_006.cpp | 152 SLEEP_AND_YIELD(1); in Testcase() 159 SLEEP_AND_YIELD(1); in Testcase() 166 SLEEP_AND_YIELD(1); in Testcase() 172 SLEEP_AND_YIELD(1); in Testcase() 176 SLEEP_AND_YIELD(1); in Testcase() 180 SLEEP_AND_YIELD(1); in Testcase()
|
D | pthread_mutex_test_017.cpp | 88 SLEEP_AND_YIELD(1); in TestCase() 107 SLEEP_AND_YIELD(5); // 5, delay enouge time in TestCase() 114 SLEEP_AND_YIELD(5); // 5, delay enouge time in TestCase()
|
D | pthread_mutex_test_001.cpp | 85 SLEEP_AND_YIELD(1); in Testcase() 91 SLEEP_AND_YIELD(1); in Testcase()
|
D | pthread_mutex_test_007.cpp | 64 SLEEP_AND_YIELD(2); // 2, delay enough time in ThreadFuncTest3() 98 SLEEP_AND_YIELD(2); // 2, delay enough time in ThreadFuncTest2() 193 SLEEP_AND_YIELD(2); // 2, delay enouge time in Testcase()
|
D | pthread_mutex_test_002.cpp | 109 SLEEP_AND_YIELD(1); in Testcase()
|
D | pthread_mutex_test_008.cpp | 154 SLEEP_AND_YIELD(2); // 2, delay enouge time in Testcase()
|
D | pthread_mutex_test_003.cpp | 143 SLEEP_AND_YIELD(1); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
D | pthread_atfork_test_001.cpp | 78 SLEEP_AND_YIELD(SLEEP_TIME); in ThreadProc() 81 SLEEP_AND_YIELD(SLEEP_TIME); in ThreadProc() 108 SLEEP_AND_YIELD(SLEEP_TIME); in PthreadAtforkTest() 121 SLEEP_AND_YIELD(SLEEP_TIME); in PthreadAtforkTest() 124 SLEEP_AND_YIELD(SLEEP_TIME); in PthreadAtforkTest()
|
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/smoke/ |
D | pthread_rwlock_test_001.cpp | 115 SLEEP_AND_YIELD(1); in ThreadReadFunc() 161 SLEEP_AND_YIELD(1); in ThreadWriteFunc1() 168 SLEEP_AND_YIELD(1); in ThreadWriteFunc1() 203 SLEEP_AND_YIELD(1); in ThreadWriteFunc() 210 SLEEP_AND_YIELD(1); in ThreadWriteFunc()
|
/kernel/liteos_a/testsuites/unittest/process/lock/spinlock/smoke/ |
D | pthread_spinlock_test_001.cpp | 78 SLEEP_AND_YIELD(1); in ThreadWriteFunc1() 117 SLEEP_AND_YIELD(1); in ThreadWriteFunc()
|
/kernel/liteos_a/testsuites/unittest/process/lock/spinlock/ |
D | it_spinlock_test.h | 35 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
|
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/ |
D | it_rwlock_test.h | 35 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/ |
D | it_mutex_test.h | 37 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/ |
D | it_pthread_test.h | 39 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
|