Re: pselect/etc semantics

From: Oleg Nesterov
Date: Thu May 30 2019 - 12:17:37 EST


On 05/30, David Laight wrote:
>
> 4) As an optimisation a signal that arrives after the timer
> expires, but before the mask is restored can be 'deemed'
> to have happened before the timeout expired and EINTR
> returned.

This is what pselect/ppoll already does.

Oleg.