2007-08-28 09:11:23

by Roland McGrath

[permalink] [raw]
Subject: Re: [PATCH] Use ERESTARTNOHAND if poll() is interrupted by a signal

In POSIX, select/pselect is specifically exempted from the usual SA_RESTART
behavior. I'm not really sure if that is entirely historical or because
after a handler has run even an adjusted relative timeout may no longer be
what you actually want. There is no such exemption for poll/ppoll, though
in general their behavior and specification are very parallel. I wonder if
they really should diverge.


Thanks,
Roland