Home
last modified time | relevance | path

Searched refs:g_currThreadPri (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_002.cpp33 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 …]
Dpthread_test_004.cpp33 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()
Dpthread_test_001.cpp33 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/
Dpthread_test_003.cpp37 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()