Re: [HACKERS] [PATCHES] fork/exec patch

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [HACKERS] [PATCHES] fork/exec patch
Дата
Msg-id 303E00EBDD07B943924382E153890E5433F95B@cuthbert.rcsinc.local
обсуждение исходный текст
Список pgsql-hackers-win32
Tom Lane wrote:
> > An option would be to SuspendThread() on the main thread, which
freezes
> > it completely durnig the execution of the signal. If necessary, are
we
> > safe against that? (Basically, SuspendThread() will suspend a thread
> > even if it's inside a kernel call.
>
> Why would that be a problem?

As I understand it, it isn't as long as the backend has only one
operating thread (except for the signal handling thread).

Merlin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] [PATCHES] fork/exec patch
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [HACKERS] [PATCHES] fork/exec patch