Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jan 2011 01:13:58 +0300
From:      Anonymous <swell.k@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>, svn-src-all@freebsd.org, Garrett Cooper <gcooper@freebsd.org>, Konstantin Belousov <kib@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r216955 - head/usr.sbin/rtprio
Message-ID:  <86bp3the8p.fsf@gmail.com>
In-Reply-To: <20110106214243.GA51802__16340.9905079336$1294350178$gmane$org@freebsd.org> (Alexander Best's message of "Thu, 6 Jan 2011 21:42:43 %2B0000")
References:  <201101041413.p04EDA4f038360@svn.freebsd.org> <AANLkTimDTq-JXF4gm9KUfo5eJaEXKaRF-CYiycFwdZML@mail.gmail.com> <20110106211017.GA46874@freebsd.org> <201101061618.39695.jhb@freebsd.org> <20110106214243.GA51802__16340.9905079336$1294350178$gmane$org@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Best <arundel@freebsd.org> writes:

> On Thu Jan  6 11, John Baldwin wrote:
>> Note that that usage is rather pointless since it means you apply rtprio to 
>> the 'rtprio' process that is about to exit. :)
>
> yeah but at least it makes the usage of -X consistent. ;) also consider the
> following: the current shell has idle priority and you want to run rtprio in
> normal priority. then rtprio -t -0 would be a neat way of doing
> rtprio -t rtprio. ;) wel...not quite, because the priotity gets set to "NORMAL"
> when rtprio is almost finished running. ;)

I think it'd be useful if the syntax allowed smth like

  $ rtprio 1 -0 -111 -222 -333 -444 -555 ...

>
> i admit using -0 for setting rtpio's own priority isn't very useful, but the
> rtprio(1) manual states:
>
> Pid of 0 means "the current process".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bp3the8p.fsf>