Обсуждение: Re: [pgsql-hackers-win32] Current Win32 port status

Поиск
Список
Период
Сортировка

Re: [pgsql-hackers-win32] Current Win32 port status

От
Claudio Natoli
Дата:
Bruce Momjian wrote:
> >     * a workable pipe replacement
>
> I don't have 'pipe' mentioned on the win32 patch.  Can you
> give details?

Yeah you do. The second point under "Problems with select()".

Basically, the Win32 call to pipe() returns a file descriptor which is
invalid to pass on to Win32 select() (as it only takes socket handles).

So, we need to replace the select'ing mechanism under Win32 (yech), or write
a Win32 pipe() replacement that returns two socket endpoints (good enough
for our purposes), or something else...

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>