🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #13433

Setting application priorities?

#13433
From: ofer faigon
Date: Tue, 10 Jan 1989 00:40
25 lines
1528 bytes
I posted this question several weeks ago, and got no answer.  Maybe better
luck now...

Is there a way to set the priorities of background applications under MS -
Windows?

The situation I am talking about is of two programs: one is a fancy user
interface, and the other is an expert system (Prolog; Plain DOS, not a
Windows application).  After the user asks a question, she has to wait about
five minutes fo the answer (on a compaq 386/20!) - Windows gives high priority
to the displayed program even though the real crunching is done in the other
program.  When popping the expert system, by the way, 5 minutes shrink to
30 seconds.

Will calling sleep() in the foreground program yield control to the background
one?  Are the time slices fixed in length?

Thanks for any kind of information.  If I get anything interesting via mail,
I'll summarize on the net.

- Ofer.
Ofer Faigon                                         TEL: +972-2-669-834
  MAIL: P.O.B 7347, Jerusalem 91072, ISRAEL
  BITNET: oferf@HUJICS          CSNET & INTERNET: oferf@shum.huji.ac.il
Technical Details
Message-ID: <47@shuldig.huji.ac.il>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!shum.huji.ac.il!oferf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!shum.huji.ac.il!oferf
From: oferf@shum.huji.ac.il (ofer faigon)
Newsgroups: comp.windows.ms
Subject: Setting application priorities?
Summary: How?
Message-ID: <47@shuldig.huji.ac.il>
Date: 10 Jan 89 00:40:09 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: oferf%HUJINIX.BITNET@humus.huji.ac.il (ofer faigon)
Organization: Hebrew University of Jerusalem, ISRAEL
Lines: 25