[comp.windows.ms] Setting application priorities

yogi@humus.huji.ac.il (Yossi Gil) (12/14/88)

Is it possible for a Windows/386 application running in full-screen
mode to yield control to another application, and still remain
displayed full-screen?

Is there a way to set the priority of an application (by the user or
from withing a Windows/386 application)?

I noticed that most of the CPU time is given to the application owning
the input focus.  Sometimes this is not what the user wants, as in my
situation where a foreground application provides a sophisticated user-
interface to a background expert system (*): after the user asks a
question, there isn't much sense in spending a lot of CPU time
busy-waiting for the reply, while slowing down the process that has to
calculate the answer...

(*) - The expert system is written in Prolog; It is NOT a Windows
      application - just plain old DOS.  The two programs communicate
      via shared files on a RAM disk.

Thanx a lot for any suggestions.

                                                     - Ofer Faigon