Re: Process scheduling.

Colin L. Hildinger (colin@ionet.net)
Mon, 09 Jun 97 04:23:05 -0500


On Mon, 9 Jun 1997 01:48:55 -0700 (PDT), Trent Piepho wrote:

>On Mon, 9 Jun 1997, Colin L. Hildinger wrote:
>> I like OS/2's method, personally. There are four brackets of priority,
>> each with higher importance. A critical priority always takes
>> precedence over an idle one. Period. If a critical priority thread is
>> due, a server level one and below waits, if an server level thread is
>> due, an application level and below waits, and if an application level
>> thread is due, idle waits (I might not have gotten the names right).
>
>There are some flaws with a strict priority system like this. Say an
>application program has locked a file that a server process needs. The
>application will never get any cpu time and will never unlock the file. Thus
>it is effectivly preventing the higher priority server process from running.

I may of course be slightly wrong then. I know Idle priority works
this way, the others may not be quite as strict, I know that idle is,
though.

Colin L. Hildinger

Games Editor - OS/2 e-Zine!
http://www.os2ezine.com/

The Ultimate OS/2 Gaming Page
http://www.ionet.net/~colin/games.html

The Official Unofficial AWE32 and OS/2 Warp Page
http://www.ionet.net/~colin/awe32.html