Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!olivea!samsung!crackers!m2c!risky.ecs.umass.edu!dime!dime.cs.umass.edu!moss From: moss@cs.umass.edu (Eliot Moss) Newsgroups: comp.unix.wizards Subject: Re: Signals and context switches Message-ID: Date: 18 Jun 91 13:36:01 GMT References: <1991Jun16.010626.28257@bnlux1.bnl.gov> <1991Jun17.085558.16652@prl.dec.com> <1991Jun17.131027.8700@bnlux1.bnl.gov> Sender: news@dime.cs.umass.edu Reply-To: moss@cs.umass.edu Organization: Dept of Comp and Info Sci, Univ of Mass (Amherst) Lines: 12 In-reply-to: drs@bnlux1.bnl.gov's message of 17 Jun 91 13:10:27 GMT Why not uses pipes? Sending one character down a pipe (or pty or whatever) can be the signal; the receiver can read and toss the character. You can use select to detect the arrivial, and also arrange for SIGIO to be delivered if you need rapid asynchronous handling of the notification. -- J. Eliot B. Moss, Assistant Professor Department of Computer and Information Science Lederle Graduate Research Center University of Massachusetts Amherst, MA 01003 (413) 545-4206, 545-1249 (fax); Moss@cs.umass.edu