]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/thread/pthread_setschedparam.c
1 #include "pthread_impl.h"
4 int pthread_setschedparam(pthread_t t
, int policy
, const struct sched_param
*param
)
8 __block_app_sigs(&set
);
10 r
= !t
->tid
? ESRCH
: -__syscall(SYS_sched_setscheduler
, t
->tid
, policy
, param
);