Searched refs:threadPolicy (Results 1 - 2 of 2) sorted by relevance
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
H A D | pthread_test_002.cpp | 55 int threadPolicy, threadPri; in ThreadFuncTest2() local 75 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest2() 78 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_FIFO, threadPolicy, EXIT); in ThreadFuncTest2() 91 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest2() 94 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_RR, threadPolicy, EXIT); in ThreadFuncTest2() 116 int threadPolicy, threadPri; in ThreadFuncTest3() local 137 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest3() 140 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_FIF in ThreadFuncTest3() [all...] |
H A D | pthread_test_014.cpp | 107 int threadPolicy = 0; in TestCase() local 112 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in TestCase()
|
Completed in 2 milliseconds