1 #include "pthread_impl.h"
4 int pthread_getschedparam(pthread_t t
, int *restrict policy
, struct sched_param
*restrict param
)
11 r
= -__syscall(SYS_sched_getparam
, t
->tid
, param
);
13 *policy
= __syscall(SYS_sched_getscheduler
, t
->tid
);