if (__sched_setscheduler(th->p_pid, policy, param) == -1) {
if (__builtin_expect (__sched_setscheduler(th->p_pid, policy, param) == -1, 0)) {
int pthread_setschedparam(pthread_t thread, int policy,                          const struct sched_param *param){  pthread_handle handle = thread_handle(thread);  pthread_descr th;  __pthread_lock(&handle->h_lock, NULL);  if (invalid_handle(handle, thread)) {    __pthread_unlock(&handle->h_lock);    return ESRCH;  }  th = handle->h_descr;  if (__sched_setscheduler(th->p_pid, policy, param) == -1) {    __pthread_unlock(&handle->h_lock);    return errno;  }  th->p_priority = policy == SCHED_OTHER ? 0 : param->sched_priority;  __pthread_unlock(&handle->h_lock);  if (__pthread_manager_request >= 0)    __pthread_manager_adjust_prio(th->p_priority);  return 0;}