Hi Paul and Jim :)

 * Paul Eggert <[EMAIL PROTECTED]> dixit:
> Unfortunately doing "renice" right (i.e., portably) isn't trivial.
> And we'd want it done right.

    AFAIK, the only needs for implementing 'renice' are the functions
'setpriority()' and 'getpriority()' (the last is only needed to
validate some parameters).

 * Jim Meyering <[EMAIL PROTECTED]> dixit:
> >     And now is when you send me directly to your killfile: I've asked
> > in the past a couple of times about including a 'renice' command to
> > coreutils, with no answer. Will it be included in the future? If so,
> > I have written a very small 'renice' command for using in my box.
> I don't use a kill file :)

    You should, and you should send me to it XD

> Unfortunately, I don't always find time to answer questions
> on this mailing list.

    Don't worry, I know it is a very hard job. I didn't pretend to
bother you ;)
 
> I'd be happy to add renice to the coreutils, but coming up with
> an acceptable version of that program will be tricky.
>   - it would have to run on a wide variety of systems

    I may be wrong, but any system capable of running 'nice' should
be capable of running 'renice'. Both use 'setpriority()', don't they?
 
>   - it would have to try to be compatible with the various
>     vendor-supplied versions of renice.  Someone would have to do
>     a survey of what options they all provide (hoping there aren't
>     already conflicts) and come up with a reasonable set of desired
>     options.

    I don't have access to many systems, unfortunately, but if you
want me to, I can google a bit to see manpages for different systems.

    Implementing 'renice' under Linux is pretty trivial, but doing it
portably is another issue :(. I'll try to investigate about current
practice under different systems and if I end up with any interesting
idea I'll let you know.

    Thanks a lot for your support, for coreutils and for taking into
account my suggestions; I'll try my best to help you in any way I can.

    Ra�l N��ez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to