Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: Help with select(2) and SIGCHLD together Message-ID: <6005@umcp-cs.UUCP> Date: Thu, 23-May-85 17:50:41 EDT Article-I.D.: umcp-cs.6005 Posted: Thu May 23 17:50:41 1985 Date-Received: Fri, 24-May-85 22:45:48 EDT References: <105@cadtec.UUCP> Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 18 Whoaaaaaaaa! *thud* (sound of me falling off my chair) I see you've run into the same problem I ran into on the Sun, doing window select calls and catching SIGWINCH. I didn't think anyone else would ever notice and/or worry about this one. As far as I can tell there is no way to avoid the race. I hesitate to suggest it, but it seems that select needs a sixth argument, namely a signal mask. . . . In my case, I ignored the race; the consequences of missing the event were that an Emacs window might not update properly until you typed another character (not terribly drastic), and the chances were pretty slim. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland