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