Skip site navigation (1) Skip section navigation (2)

Re: APC/socket fix (final?)

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Claudio Natoli" <claudio(dot)natoli(at)memetrics(dot)com>,<pgsql-patches(at)postgresql(dot)org>
Subject: Re: APC/socket fix (final?)
Date: 2004-03-26 19:29:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
>> The third option is to redefine all these functions into our own, and
>> implement our own emulation layer. This means our own 
>select(), send(),
>> recv() (more? I don't think so). And have these call the 
>native winsock
>> APIs (WSAEventSelect(), WSASend(), WSARecv() etc). These 
>functions are
>> designed to work in an APC environment. 
>Pardon me for not having paid close enough attention, but what versions
>of select() and friends are we relying on now?  Is it really reasonable
>to think that we can do a better job without a large amount of effort?

oh yeah, I should add that these "new-style" functions are very similar
to the original functions in syntax and semantics - they're just changed
to interface with the win32 style of blocking/signalling/waiting.


pgsql-patches by date

Next:From: Tom LaneDate: 2004-03-26 19:39:41
Subject: Re: APC/socket fix (final?)
Previous:From: Tom LaneDate: 2004-03-26 19:11:27
Subject: Re: APC/socket fix (final?)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group