bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Doing a rollout as a background job


From: Michael Petch
Subject: Re: [Bug-gnubg] Doing a rollout as a background job
Date: Tue, 11 Aug 2009 14:55:55 -0600
User-agent: Microsoft-Entourage/12.20.0.090605

On 11/08/09 2:33 PM, "Timothy Y. Chow" <address@hidden> wrote:
> 
> However, I don't think it's quite accurate to say "Definitely not Gnubg,"
> because the file set.c has a function SetPriority that calls the system
> function setpriority()

Lots of features in Gnubg and unless you look everywhere in the code (My
apologies). I didn't realize there was a priority feature in Gnubg (Depends
on the platform and whether setpriority exists).

Setting the priority can be done issuing this command.

set priority nice [n]

That ultimately makes a call to gnubg's SetPriority and then the system
setpriority function.

I never issued this command before until now. On my linux box I get if I
issue the command directly I get "Permission denied" when running as non
root users (But works under root).

It seems like if setpriority fails. Gnubg considers it non fatal and
continues, so its causing no harm.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]