Searched refs:curThreadPri (Results 1 – 11 of 11) sorted by relevance
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
D | pthread_once_test_001.cpp | 83 int curThreadPri, curThreadPolicy; in Testcase() local 92 curThreadPri = param.sched_priority; in Testcase() 96 param.sched_priority = curThreadPri + 2; // 2, adjust the priority. in Testcase()
|
D | pthread_atfork_test_002.cpp | 143 int curThreadPri, curThreadPolicy; in Testcase() local 150 curThreadPri = param.sched_priority; in Testcase() 154 param.sched_priority = curThreadPri + 2; // 2, adjust the priority. in Testcase()
|
D | pthread_atfork_test_001.cpp | 150 int curThreadPri, curThreadPolicy; in Testcase() local 157 curThreadPri = param.sched_priority; in Testcase() 161 param.sched_priority = curThreadPri + 2; // 2, adjust the priority. in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
D | pthread_test_001.cpp | 149 int curThreadPri, curThreadPolicy; in ThreadFunc() local 158 curThreadPri = param.sched_priority; in ThreadFunc() 162 param.sched_priority = curThreadPri - 1; in ThreadFunc() 176 param.sched_priority = curThreadPri + 1; in ThreadFunc() 191 param.sched_priority = curThreadPri + 2; // 2, adjust the priority. in ThreadFunc()
|
D | pthread_test_004.cpp | 63 int curThreadPri, curThreadPolicy; in ThreadFunc7() local 71 curThreadPri = param.sched_priority; in ThreadFunc7() 75 param.sched_priority = curThreadPri; in ThreadFunc7() 98 int curThreadPri, curThreadPolicy; in ThreadFunc5() local 106 curThreadPri = param.sched_priority; in ThreadFunc5() 110 param.sched_priority = curThreadPri + 1; in ThreadFunc5()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_012.cpp | 80 int curThreadPri, curThreadPolicy; in ThreadFunc() local 86 curThreadPri = param.sched_priority; in ThreadFunc() 89 param.sched_priority = curThreadPri - 2; // 2, set pthread priority. in ThreadFunc()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_057.cpp | 97 int curThreadPri, curThreadPolicy; in Testcase() local 101 curThreadPri = param.sched_priority; in Testcase() 103 param.sched_priority = curThreadPri - 1; in Testcase()
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
D | shm_test_001.cpp | 133 int curThreadPri, curThreadPolicy; in Testcase() local 144 curThreadPri = param.sched_priority; in Testcase() 146 param.sched_priority = curThreadPri; in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/spinlock/smoke/ |
D | pthread_spinlock_test_001.cpp | 135 int curThreadPri, curThreadPolicy; in Testcase() local 146 curThreadPri = param.sched_priority; in Testcase() 151 param.sched_priority = curThreadPri + 1; in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/smoke/ |
D | pthread_rwlock_test_001.cpp | 228 int curThreadPri, curThreadPolicy; in Testcase() local 239 curThreadPri = param.sched_priority; in Testcase() 244 param.sched_priority = curThreadPri + 1; in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/full/ |
D | pthread_rwlock_test_002.cpp | 228 int curThreadPri, curThreadPolicy; in PthreadRwlockTest() local 239 curThreadPri = param.sched_priority; in PthreadRwlockTest() 244 param.sched_priority = curThreadPri + 1; in PthreadRwlockTest()
|