Author: davidxu Date: Wed Jul 25 02:09:06 2012 New Revision: 238762 URL: http://svn.freebsd.org/changeset/base/238762
Log: Use target thread's scheduling policy not current's. Modified: stable/8/lib/libthr/thread/thr_setprio.c Modified: stable/8/lib/libthr/thread/thr_setprio.c ============================================================================== --- stable/8/lib/libthr/thread/thr_setprio.c Wed Jul 25 02:05:59 2012 (r238761) +++ stable/8/lib/libthr/thread/thr_setprio.c Wed Jul 25 02:09:06 2012 (r238762) @@ -69,7 +69,7 @@ _pthread_setprio(pthread_t pthread, int ret = 0; } else { ret = _thr_setscheduler(pthread->tid, - curthread->attr.sched_policy, ¶m); + pthread->attr.sched_policy, ¶m); if (ret == -1) ret = errno; else _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"