On Tue, Jun 26, 2001 at 04:16:54AM -0400, Roland McGrath wrote:
> Unless the program is using sigaction without SA_RESTART for its signal
> handlers, select should not return EINTR (it should restart). So the
> things to figure out are: what all kinds of signal handling is it using,
> and what signals might be generated that you would expect.
It doesn't do a lot at all. It sets SIGPIPE tp SIG_IGN, and SIGWINCH to a
signal handler. At least on Linux, this happens with SA_RESTART set by
default (but I don't know if we do it by default, too).
However, we don't resize the terminal anyway, so this signal should not be
raised, right?
The only other signal related thing it does is, while updating the process
bar, it blocks SIGWINCH temporarily with sigprocmask. Can it be that this
block/unblock can confuse select?
Do we have SA_RESTART by default?
Can I see which signal interrupted select()? Where would I set my
breakpoint?
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd