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

From: Roland McGrath
Date: Tue Aug 28 2007 - 05:11:24 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/