Re: stderr piping under win32

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: stderr piping under win32
Дата
Msg-id 410A5D15.7030006@pse-consulting.de
обсуждение исходный текст
Ответ на Re: stderr piping under win32  (Claudio Natoli <claudio.natoli@memetrics.com>)
Список 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 по дате отправления:

Предыдущее
От: Claudio Natoli
Дата:
Сообщение: Re: stderr piping under win32
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Borland c++ compile problems...