cvs commit: src/sys/kern kern_resource.c
eischen at vigrid.com
Sat May 8 07:38:09 PDT 2004
On Sat, 8 May 2004, Julian Elischer wrote:
> julian 2004/05/08 01:56:05 PDT
> FreeBSD src repository
> Modified files:
> sys/kern kern_resource.c
> Fix rtprio() to do sensible things when called from threaded processes.
> It's not quite correct from a posix Point Of view, but it is a lot better
> than what was there before. This will be revisited later
> when we decide what form our priority extensions will take. Posix doesn't
> specify how a system scope thread can change its priority so you need to
> add non-standard extensions to be able to do it..
> For now make this slightly non standard to allow it to be done.
rtprio() isn't in the standard, so you can make it have
any behavior you want. It's only nice() and sched_setparam()
that operate on the process as a whole.
More information about the cvs-src