Check for the pthread_setschedparam function