Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site psivax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!hplabs!sdcrdcf!psivax!friesen From: friesen@psivax.UUCP (Stanley Friesen) Newsgroups: net.unix-wizards Subject: Re: to job control or not to job control (was UNIX Futures) Message-ID: <1099@psivax.UUCP> Date: Tue, 15-Apr-86 11:47:24 EST Article-I.D.: psivax.1099 Posted: Tue Apr 15 11:47:24 1986 Date-Received: Thu, 17-Apr-86 05:28:31 EST References: <1524@wucs.UUCP> <6571@utzoo.UUCP> <1097@psivax.UUCP> <198@desint.UUCP> Reply-To: friesen@psivax.UUCP (Stanley Friesen) Organization: Pacesetter Systems Inc., Sylmar, CA Lines: 32 In article <198@desint.UUCP> geoff@desint.UUCP (Geoff Kuenning) writes: > >Taking this at face value, given the current scheduler states in the UNIX >kernel, we need SIGSWAP, SIGBLOCK, and SIGRUN at an absolute minimum. > >Sorry, Stanley, but Henry's right and you're wrong. A process should not >be informed of scheduling decisions; it's contrary to the very spirit >of multiprocessing. Stopping a job is a scheduling decision, nothing more. >(O.K., I admit BSD has hung a bunch of other stuff on it. But that's their >problem). And SIGKILL, SIGINT and SIGTERM should also be eliminated because after all terminating a process is "just" a scheduling decision :-) In fact I see a major difference between low-level scheduling operations like swapping and blocking for I/O and higher level scheduling like stopping and terminating jobs. The former are, or should be totally invisible to the user, the latter are often under direct user control, and are invariably plainly visible to the user. I would not want the OS arbitrarily deciding to stop my jobs! And if I have stopped a job I certainly don't want the OS to restsart it on it own! The UNIX philosophy is that the high-level, user-oriented "scheduling" operations are implemented as signals. Whether the signal is catchable or not is a policy decision. personally I feel all un-catchable signals should have a catchable equivalent which is the "usual" or default signal. This allows forced stopping when needed, but allows flexibility where that is desirable. -- Sarima (Stanley Friesen) UUCP: {ttidca|ihnp4|sdcrdcf|quad1|nrcvax|bellcore|logico}!psivax!friesen ARPA: ttidca!psivax!friesen@rand-unix.arpa