#include <pthread.h>int
pthread_attr_getschedparam(const pthread_attr_t * restrict attr, struct sched_param * restrict param);
int
pthread_attr_setschedparam(pthread_attr_t *attr, const struct sched_param *param);
int
pthread_attr_getschedpolicy(const pthread_attr_t * restrict attr, int * restrict policy);
int
pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy);