preemptive multitasking

Marc Lehmann (mlehmann@hildesheim.sgh-net.de)
Thu, 28 Nov 1996 15:26:14 +0100 (MET)


Linux is always doing preemptive multitasking, wether in X or at the console
(I speak only of user processes).

If you press ^Z in rxvt, you just send a signal to netscape, which
netscape can choose to just ignore.

You can even write a program (netscape does this sometimes, too)
that totally locks your display in X, doing a global grab.

Neither of this affects other processes that want to run, i.e.
log in into your machine via the network and you can work as you
want - anything thats runable runs .. NO normal user process
can stop other programs from running unless sending a signal..

And speaking of X: doesn't anyone remember what we read in almost
any books about window systems (either amiga/xwindows/win95 etc..):
DO AVOID GLOBAL GRABS.. its never necessary.

-----==-
----==-- _
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / mlehmann@hildesheim.sgh-net.de
-=====/_/_//_/\_,_/ /_/\_\ pcg@goof.com
The choice of a GNU generation

y