Обсуждение: Re: [HACKERS] [PATCHES] fork/exec patch

Поиск
Список
Период
Сортировка

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

От
"Merlin Moncure"
Дата:
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