Re: stderr piping under win32 - Mailing list pgsql-hackers-win32

From Andreas Pflug
Subject Re: stderr piping under win32
Date
Msg-id 410A5D15.7030006@pse-consulting.de
Whole thread Raw
In response to Re: stderr piping under win32  (Claudio Natoli <claudio.natoli@memetrics.com>)
List pgsql-hackers-win32
Claudio Natoli wrote:
>
>
> IIRC, it is because the handles returned by the pipe call are later
> select()'d on with other sockets, which is not possible with handles
> returned by _pipe.

That's true, select() is not possible on file and pipe handles. To
achieve wait-and-timeout, WaitForSingleObject is necessary, which will
take a different handle type than _pipe delivers. Well, Tom already made
some comments on M$'s standard compliance...

Regards,
Andreas

pgsql-hackers-win32 by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: stderr piping under win32
Next
From: Bruce Momjian
Date:
Subject: Re: Borland c++ compile problems...