Re: Current Win32 port status

Lists: pgsql-hackerspgsql-hackers-win32
From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Bruce Momjian' <pgman(at)candle(dot)pha(dot)pa(dot)us>, Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
Cc: "'pgsql-hackers-win32(at)postgresql(dot)org'" <pgsql-hackers-win32(at)postgresql(dot)org>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Current Win32 port status
Date: 2003-12-22 13:03:11
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B0280A3@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32


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>