Re: sigwait() breaks when straced
From: Ulrich Drepper
Date: Sun Jul 31 2005 - 13:01:46 EST
On 7/30/05, Sanjoy Mahajan <sanjoy@xxxxxxxxxxxxxx> wrote:
> so the return value should not be 4 (or the docs are not right).
This return value simply indicated EINTR (sigwait does not set errno,
read the docs).
The kernel simply doesn't restart the function in case of a signal.
It should do this, though.
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/