Searched refs:policy (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/include/ |
D | pthread.h | 120 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,
|
D | sched.h | 48 extern int sched_get_priority_max(int policy); 49 extern int sched_get_priority_min(int policy);
|
/bionic/libc/bionic/ |
D | pthread.c | 423 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/ |
D | SYSCALLS.TXT | 241 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
|