Re: [HACKERS] [PATCHES] fork/exec patch - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: [HACKERS] [PATCHES] fork/exec patch
Date
Msg-id 303E00EBDD07B943924382E153890E5433F95B@cuthbert.rcsinc.local
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] [PATCHES] fork/exec patch
Next
From: "Magnus Hagander"
Date:
Subject: Re: [HACKERS] [PATCHES] fork/exec patch