I wrote:
> Jeff Janes <jeff.ja...@gmail.com> writes:
>> When the poll() gets EINTR by SIGUSR1 for the invalidation, it
>> restarts at the full timeout (60 seconds in this case) with no
>> accounting for the time already waited.

> Hmm.  That seems like a problem, all right, but I don't believe the
> claim that it applies only to the poll() code path.  On many platforms
> the select() path would have the same issue.

BTW, doesn't win32_latch.c have the identical problem?  I don't see it
updating the timeout after a signal, either.

                        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to