[Wolves] Help ME!!!(please)

James Turner james at turnersoft.co.uk
Sun Apr 4 10:52:30 BST 2004


On Saturday 03 April 2004 17:41, Adam Sweet wrote:
>  --- Andy Hill <andyhilluk2004 at yahoo.co.uk> wrote: >
>
> > The problem is in setting a thread priority in
> > Linux, unfortunately I cant find any stable
> > mechanism for both iPAQ and x86.
>
> Could this be done using nice? I've never used it but
> I think it sets the priority of processes. Can't
> really offer any more advice so just read the nice
> manpage to see if it does what you want.

Yes, nice can be used to change the scheduling priority. IIRC, you need to be 
root to increase the priority (give more priority), but any user can decrease 
it (give less priority).

Just to confuse people, using a higher number for the priority actually gives 
the process less priority (and vice versa - the numeric scale runs 
backwards), so the words "increase" and "decrease" are sometimes used with 
meanings opposite to what you'd expect. :)

James



More information about the Wolves mailing list