Re: Signals on Win32 (yet again)

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Signals on Win32 (yet again)
Дата
Msg-id 3FE35E8E.7070804@dunslane.net
обсуждение исходный текст
Ответ на Signals on Win32 (yet again)  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers-win32
Magnus Hagander wrote:

>Considering the input we've received lately, it looks like the option of
>making signal handlers thread safe is going to be really difficult.
>
>
:-(

If we ever want to get to a fully threaded Postgres that will surely
have to be tackled. I agree it might mean major surgery, and we should
not hold up W32 for it.

>Likewise, finding "good places" to tuck in SleepEx calls is probaly not
>going to be easy.
>

Maybe. I'm not quite convinced of that yet - we can SleepEx with a very
small timeout, no? There must be a few critical places the call could be
made, which would in effect just delay delivery of the signal for a very
short time to some convenient sequence point.


>(I still think SleepEx and User APCs have to be a much
>faster and cleaner solutions than a hidden window - while rqeuiring the
>exact same thing which is a set of polling points)
>
>

I agree.

>[snip] discussion of kernel driver solution
>
>

Now you're over my head ;-)

Thanks for all the good research.

cheers

andrew


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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Signals on Win32 (yet again)
Следующее
От: "Steve Tibbett"
Дата:
Сообщение: Re: Signals on Win32 (yet again)