Re: socket calls in signal handler (WAS: APC + socket restrictions un der Win32?)

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: socket calls in signal handler (WAS: APC + socket restrictions un der Win32?)
Дата
Msg-id
16408.1078781381@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: socket calls in signal handler (WAS: APC + socket restrictions un der Win32?) "Magnus Hagander" <mha@sollentuna.net>
Re: socket calls in signal handler (WAS: APC + socket restrictions un der Win32?) Tom Lane <tgl@sss.pgh.pa.us>
"Magnus Hagander"  writes:
> To me this sounds like we have to make a general solution, and not win32
> specific, to get the socket calls out of the signal handler.

Hold on one second here.  I thought this thread was discussing some
local problem in the Win32 workaround for lack of signals?

The postmaster's use of nominally unsafe stuff in signal handlers is not
and never has been a problem, because there is only one place in the
main loop where signals are unblocked, thus no possibility for something
to interrupt something else.  I don't like the idea of redesigning that
code just because someone misunderstands it.
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: COMMENT ON [GROUP/USER]
От: Bruce Momjian
Дата:
Сообщение: Re: COMMENT ON [GROUP/USER]
FAQ