Date: Sat, 8 May 2004 22:09:18 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Daniel Eischen <eischen@vigrid.com> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_resource.c Message-ID: <Pine.BSF.4.21.0405082206130.95616-100000@InterJet.elischer.org> In-Reply-To: <Pine.GSO.4.10.10405081034560.11288-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
yes, but the posix priority stuff all affects the entire process so we are diverging from that. On Sat, 8 May 2004, Daniel Eischen wrote: > 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 > > Log: > > 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. > > -- > Dan Eischen > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0405082206130.95616-100000>