#include <pthread.h> int pthread_getschedparam ( pthread_t thread, int *policy, struct sched_param *param);