Searched refs:POLICY (Results 1 - 8 of 8) sorted by relevance
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/ |
H A D | 17-1.c | 82 #define POLICY SCHED_RR macro 99 sp.sched_priority = param = sched_get_priority_max( POLICY ); 106 ret = sched_setscheduler( 0, POLICY, &sp ); 133 if ( ret != POLICY )
|
H A D | 17-2.c | 82 #define POLICY SCHED_FIFO macro 99 sp.sched_priority = param = sched_get_priority_max( POLICY ); 106 ret = sched_setscheduler( 0, POLICY, &sp ); 133 if ( ret != POLICY )
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
H A D | 2-3.c | 29 #define POLICY SCHED_FIFO macro 46 if(policy == POLICY) { 77 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m);
|
H A D | 2-4.c | 29 #define POLICY SCHED_RR macro 46 if(policy == POLICY) { 65 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_setschedparam/ |
H A D | 1-3.c | 29 #define POLICY SCHED_FIFO macro 46 if(policy == POLICY) { 68 rc = pthread_attr_setschedpolicy(&attr, POLICY);
|
H A D | 1-4.c | 29 #define POLICY SCHED_RR macro 49 if(policy == POLICY) { 71 rc = pthread_attr_setschedpolicy( &attr, POLICY);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/condvar/ |
H A D | pthread_cond_wait_1.c | 36 #define POLICY SCHED_RR macro 74 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); 84 if((policy != POLICY) || (param.sched_priority != HIGH_PRIORITY)) { 135 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); 145 if((policy != POLICY) || (param.sched_priority != LOW_PRIORITY)) { 176 rc = pthread_attr_setschedpolicy(&high_attr, POLICY); 199 rc = pthread_attr_setschedpolicy(&low_attr, POLICY);
|
H A D | pthread_cond_wait_2.c | 37 #define POLICY SCHED_RR macro 75 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); 85 if((policy != POLICY) || (param.sched_priority != HIGH_PRIORITY)) { 136 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); 146 if((policy != POLICY) || (param.sched_priority != LOW_PRIORITY)) { 177 rc = pthread_attr_setschedpolicy(&high_attr, POLICY); 200 rc = pthread_attr_setschedpolicy(&low_attr, POLICY);
|
Completed in 63 milliseconds