32c32
< * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 162037 2006-09-05 14:39:06Z davidxu $
---
> * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 162499 2006-09-21 04:21:30Z davidxu $
58,59c58,59
< ret = thr_setschedparam(curthread->tid,
< ¶m, sizeof(struct sched_param));
---
> ret = _thr_setscheduler(curthread->tid,
> curthread->attr.sched_policy, ¶m);
74,75c74,75
< ret = thr_setschedparam(pthread->tid, ¶m,
< sizeof(struct sched_param));
---
> ret = _thr_setscheduler(pthread->tid,
> curthread->attr.sched_policy, ¶m);
< * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 162037 2006-09-05 14:39:06Z davidxu $
---
> * $FreeBSD: head/lib/libthr/thread/thr_setprio.c 162499 2006-09-21 04:21:30Z davidxu $
58,59c58,59
< ret = thr_setschedparam(curthread->tid,
< ¶m, sizeof(struct sched_param));
---
> ret = _thr_setscheduler(curthread->tid,
> curthread->attr.sched_policy, ¶m);
74,75c74,75
< ret = thr_setschedparam(pthread->tid, ¶m,
< sizeof(struct sched_param));
---
> ret = _thr_setscheduler(pthread->tid,
> curthread->attr.sched_policy, ¶m);