Re: Restartable signals 'n all that

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Restartable signals 'n all that
Дата
Msg-id 20080826195412.GR4920@alvh.no-ip.org
обсуждение исходный текст
Ответ на Restartable signals 'n all that  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Restartable signals 'n all that  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> So we've got two problems: SA_RESTART is preventing some EINTRs from
> happening when we'd like, and yet it seems we are at risk of unwanted
> EINTRs anyway.
> 
> The only really clean solution I can see is to stop using SA_RESTART
> and try to make all our syscalls EINTR-proof.  But the probability
> of bugs-of-omission seems just about 100%, especially in third party
> backend add-ons that we don't get to review the code for.

Did we do anything about this?  I see we have it on TODO ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: Re: Split up the wiki TODO page?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Restartable signals 'n all that