Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/full/
Dpthread_rwlock_test_002.cpp103 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/
Dpthread_mutex_test_004.cpp154 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()
Dpthread_mutex_test_005.cpp156 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()
Dpthread_mutex_test_006.cpp152 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()
Dpthread_mutex_test_017.cpp88 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()
Dpthread_mutex_test_001.cpp85 SLEEP_AND_YIELD(1); in Testcase()
91 SLEEP_AND_YIELD(1); in Testcase()
Dpthread_mutex_test_007.cpp64 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()
Dpthread_mutex_test_002.cpp109 SLEEP_AND_YIELD(1); in Testcase()
Dpthread_mutex_test_008.cpp154 SLEEP_AND_YIELD(2); // 2, delay enouge time in Testcase()
Dpthread_mutex_test_003.cpp143 SLEEP_AND_YIELD(1); in Testcase()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
Dpthread_atfork_test_001.cpp78 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/
Dpthread_rwlock_test_001.cpp115 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/
Dpthread_spinlock_test_001.cpp78 SLEEP_AND_YIELD(1); in ThreadWriteFunc1()
117 SLEEP_AND_YIELD(1); in ThreadWriteFunc()
/kernel/liteos_a/testsuites/unittest/process/lock/spinlock/
Dit_spinlock_test.h35 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/
Dit_rwlock_test.h35 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/
Dit_mutex_test.h37 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/
Dit_pthread_test.h39 #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) macro