Andre Poenitz wrote:

>On Thu, Nov 29, 2001 at 05:16:38PM +1100, Ben Stanley wrote:
>
>>Perhaps an extra argument to convert would be in order?
>>
>>Converters::convert( <blah blah> , bool priority_nice = false )
>>
>>if( priority_nice )
>>        command = string("nice ") + command;
>>
>
>And make sure that this is portable...
>
We could also modify the Systemcalls class to call nice(10) if 
necessary, after fork() but before calling exec(), ie somewhere in 
Systemcalls::fork().

nice() is part of POSIX. There are no autoconf macros to detect it.

But does it exist on Windows and OS/2?

Writing an autoconf macro to detect it should be a simple matter...

Ben.

Reply via email to