Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpthread.h120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy);
121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy);
152 int pthread_getschedparam(pthread_t thid, int * policy,
Dsched.h48 extern int sched_get_priority_max(int policy);
49 extern int sched_get_priority_min(int policy);
/bionic/libc/bionic/
Dpthread.c423 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy) in pthread_attr_setschedpolicy() argument
425 attr->sched_policy = policy; in pthread_attr_setschedpolicy()
429 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy) in pthread_attr_getschedpolicy() argument
431 *policy = attr->sched_policy; in pthread_attr_getschedpolicy()
718 int pthread_getschedparam(pthread_t thid, int * policy, in pthread_getschedparam() argument
726 *policy = sched_getscheduler(thread->kernel_id); in pthread_getschedparam()
734 int pthread_setschedparam(pthread_t thid, int policy, in pthread_setschedparam() argument
741 ret = sched_setscheduler(thread->kernel_id, policy, param); in pthread_setschedparam()
/bionic/libc/
DSYSCALLS.TXT241 int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) 156
246 int sched_get_priority_max(int policy) 159
247 int sched_get_priority_min(int policy) 160