Help with select(2) and SIGCHLD together
Chris Torek
chris at umcp-cs.UUCP
Fri May 24 07:50:41 AEST 1985
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 at umcp-cs ARPA: chris at maryland
More information about the Comp.unix.wizards
mailing list