Re: Lack of Documentation about SA_RESTART...

From: Paolo Ornati
Date: Tue Jul 12 2005 - 03:48:49 EST


On 11 Jul 2005 20:30:20 -0700
Philippe Troin <phil@xxxxxxxx> wrote:

> Except for select() and poll(), which should always return EINTR even
> when interrupted with a SA_RESTART signal.

SUSV3 says this for select():
"If SA_RESTART has been set for the interrupting signal, it is
implementation-defined whether the function restarts or returns with
[EINTR]"

and says nothing for poll()...

But it says nothing also for "pause()", for example... and I doubt that
it's supposed to be automatically restarted :)

--
Paolo Ornati
Linux 2.6.12.2 on x86_64
-
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/