Lines Matching defs:prio
49 _thr_setparam(pthread_t tid, int policy, int prio)
65 if (prio > ulwp->ul_epri)
68 ulwp->ul_pri = prio;
69 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) {
75 ulwp->ul_pri = prio;
109 ap->prio < pccp->pcc_primin || ap->prio > pccp->pcc_primax))
118 ap->prio != (self->ul_epri? self->ul_epri : self->ul_pri)))
124 error = _thr_setparam(tid, ap->policy, ap->prio);
253 thr_setprio(thread_t tid, int prio)
265 if (param.sched_priority == prio) /* no change */
267 return (_thr_setparam(tid, policy, prio));