Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uthub.toronto.edu Path: utzoo!utcsri!uthub!thomson From: thomson@uthub.toronto.edu (Brian Thomson) Newsgroups: comp.unix.questions Subject: Re: Suspending processes Message-ID: <357@uthub.toronto.edu> Date: Thu, 15-Jan-87 09:26:01 EST Article-I.D.: uthub.357 Posted: Thu Jan 15 09:26:01 1987 Date-Received: Thu, 15-Jan-87 22:54:02 EST References: <836@A60.UUCP> <8299@topaz.RUTGERS.EDU> <803@maynard.BSW.COM> Reply-To: thomson@uthub.UUCP (Brian Thomson) Organization: CSRI, University of Toronto Lines: 14 Summary: In article <803@maynard.BSW.COM> campbell@maynard.UUCP (Larry Campbell) writes: >VENIX provides suspend(pid) and resume(pid) system calls, and 'suspend' >and 'resume' commands. They're so useful, and so obviously easy to >implement, I wonder why they never got into System V or BSD. I will supply the BSD: suspend(pid) { kill(pid, SIGSTOP); } resume(pid) { kill(pid, SIGCONT); } and leave the SYSV exercise to the reader. -- Brian Thomson, CSRI Univ. of Toronto {linus,ihnp4,uw-beaver,floyd,utzoo}!utcsri!uthub!thomson