Searched refs:g_currThreadPri (Results 1 – 4 of 4) sorted by relevance
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
D | pthread_test_002.cpp | 33 static int g_currThreadPri, g_currThreadPolicy; variable 69 param.sched_priority = g_currThreadPri + 1; in ThreadFuncTest2() 79 ICUNIT_GOTO_EQUAL(param.sched_priority, (g_currThreadPri + 1), param.sched_priority, EXIT); in ThreadFuncTest2() 85 param.sched_priority = g_currThreadPri; in ThreadFuncTest2() 95 ICUNIT_GOTO_EQUAL(param.sched_priority, g_currThreadPri, param.sched_priority, EXIT); in ThreadFuncTest2() 101 ret = pthread_setschedprio(pthread_self(), g_currThreadPri + 1); in ThreadFuncTest2() 131 param.sched_priority = g_currThreadPri + 1; in ThreadFuncTest3() 141 ICUNIT_GOTO_EQUAL(param.sched_priority, (g_currThreadPri + 1), param.sched_priority, EXIT); in ThreadFuncTest3() 147 param.sched_priority = g_currThreadPri; in ThreadFuncTest3() 157 ICUNIT_GOTO_EQUAL(param.sched_priority, g_currThreadPri, param.sched_priority, EXIT); in ThreadFuncTest3() [all …]
|
D | pthread_test_004.cpp | 33 static int g_currThreadPri, g_currThreadPolicy; variable 243 param.sched_priority = g_currThreadPri; in threadFunc() 261 param.sched_priority = g_currThreadPri + 2; // 2, adjust priority. in threadFunc() 285 param.sched_priority = g_currThreadPri + 3; // 3, adjust priority. in threadFunc() 329 g_currThreadPri = param.sched_priority; in PthreadTest004() 335 param.sched_priority = g_currThreadPri + 1; in PthreadTest004() 370 param.sched_priority = g_currThreadPri - 1; in PthreadTest004()
|
D | pthread_test_001.cpp | 33 static int g_currThreadPri, g_currThreadPolicy; variable 223 g_currThreadPri = param.sched_priority; in PthreadTest001() 229 param.sched_priority = g_currThreadPri + 1; in PthreadTest001() 256 param.sched_priority = g_currThreadPri - 1; in PthreadTest001()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
D | pthread_test_003.cpp | 37 static int g_currThreadPri, g_currThreadPolicy; variable 52 ICUNIT_GOTO_EQUAL(g_currThreadPri, param.sched_priority, param.sched_priority, EXIT); in ThreadFuncTest2() 72 ICUNIT_GOTO_EQUAL(g_currThreadPri, param.sched_priority, param.sched_priority, EXIT); in ThreadFuncTest3() 93 g_currThreadPri = param.sched_priority; in Testcase() 105 param.sched_priority = g_currThreadPri; in Testcase() 117 param.sched_priority = g_currThreadPri; in Testcase()
|