comp.lang.ada
 help / color / mirror / Atom feed
From: Ross Higson <rosshigson_REMOVE_ME_@optusnet.com.au>
Subject: Re: Why do the escape sequences not work?
Date: Sun, 03 Oct 2004 11:03:40 +1000
Date: 2004-10-03T11:03:40+10:00	[thread overview]
Message-ID: <415f50a2$0$20129$afc38c87@news.optusnet.com.au> (raw)
In-Reply-To: <sa4hdpcab7w.fsf@snoopy.apana.org.au>

Brian May wrote:

> 
> On a related topic, anyone know how Windows sets priorities on
> applications?
> 
> I have a command line application (Ada of course), run in a MS console
> window. It is a daemon, so is meant to run in the background, without
> any user access required.
> 
> However, I have been getting complaints that it stops working if the
> window isn't visible (e.g. covered by another window). If another
> window pops up in front of it, it stops working. Also power save mode
> on the monitor stops it working (or was that the screen saver?). The
> confusing part is that sometimes it does work.
> 
> I haven't seen the problem, and can't reproduce it on Windows XP (the
> computer in question is Windows 2000 IIRC).
> 
> My theory is that MS-Windows reduces the priority of the task if the
> window is not visible on the assumption that the user doesn't need to
> interact with Windows they can't see.
> 
> I have a suspicion that using rxvt might solve the problem (and will
> check this ASAP), but I don't know how priorities are set on Windows.

Brian,

Under NT/2000 the current fg process may indeed get a priority boost 
that can cause bg processes to slow down. I don't think using rxvt will 
help, but this behaviour can be disabled. It doesn't happen under XP.

See http://www.winguides.com/registry/display.php/877/

Ross.



  reply	other threads:[~2004-10-03  1:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-02 12:55 Why do the escape sequences not work? GlesgaMick
2004-10-02 12:58 ` stephane richard
2004-10-02 13:02   ` stephane richard
2004-10-02 13:11     ` stephane richard
2004-10-02 13:37       ` GlesgaMick
2004-10-02 14:34         ` Marius Amado Alves
2004-10-02 14:37         ` stephane richard
2004-10-02 23:21   ` Ross Higson
2004-10-02 23:52     ` Ross Higson
2004-10-03  0:03       ` stephane richard
2004-10-03  0:37   ` Brian May
2004-10-03  1:03     ` Ross Higson [this message]
2004-10-03 13:27     ` CBFalconer
2004-10-03 22:46       ` Brian May
2004-10-05 17:45 ` GlesgaMick
2004-10-05 19:15   ` Marc A. Criley
2004-10-05 19:32   ` Frank J. Lhota
2004-10-05 19:54   ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox