Re: stderr piping under win32
Andreas Pflug <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.win32 |
|---|---|
| Message-ID | <[email protected]> |
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
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [email protected] so that your
message can get through to the mailing list cleanly