Make libthread_xu use the new lwp_rtprio() system call, mainly taken from
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 3 May 2007 23:08:34 +0000 (23:08 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 3 May 2007 23:08:34 +0000 (23:08 +0000)
commita31d07057b233f7dff8c748d7097a9cee3f3dd51
treed7ad26c157bee456019c3e131f00c99728097cf0
parent649d3bd224b4d94964597de50edbf7e2a0c43a4c
Make libthread_xu use the new lwp_rtprio() system call, mainly taken from
FreeBSD.  Add additional code to bounds check priority values rather then
silently accepting out of bounds values.

Submitted-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Obtained-from: Portions obtained from FreeBSD
lib/libthread_xu/thread/thr_attr.c
lib/libthread_xu/thread/thr_getschedparam.c
lib/libthread_xu/thread/thr_kern.c
lib/libthread_xu/thread/thr_private.h
lib/libthread_xu/thread/thr_setschedparam.c