Andres Freund <and...@anarazel.de> writes:
> On 2017-04-20 19:23:28 -0400, Tom Lane wrote:
>> or are the HANDLEs in a Windows WaitEventSet not inheritable
> I think we have control over that. According to
> CreateProcess() has to be called with bInheritHandles = true (which we
> do for backends), and SECURITY_ATTRIBUTES.bInheritHandle has to be true
> too. The latter we already only do for InitSharedLatch(), but not for
> InitLatch(), nor for the WSACreateEvent's created for sockets - those
> apparently can never be inherited.
> So that kind of sounds like it should be doable.
Ah, good. I'll add a comment about that and press on.
regards, tom lane
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: