On Thu, 2 Sep 2004 23:31:22 +0100, Tim Bunce <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 02, 2004 at 01:52:59PM +0100, Matt Sergeant wrote:
> > On 1 Sep 2004, at 03:13, david nicol wrote:
> > >Based on this comment I would like to extend the proposed extension
> > >to include an optional $h->fileno() method[...]
> > >     ...
> > >     buildselectvectors(@Listeners,@Clients,@Callbacks);
> > >     select ...
> > >
> > >An array ref rather than one number, so handles that have multiple
> > >connections open can report them all.
> >
> > Yes, this would work. Having each DBD implement their own internal
> > select() wouldn't work as well, because two event loops are worse than
> > one.
> 
> I haven't had a chance to read through all the comments in this thread yet,
> but I'll point out two flies in the ointment:
> 
> 1. Many database API's don't offer access to the filehandle.

And some API's don't even use files for communicating with the database server.

Informix can use shared memory connections -- and uses semaphores for
synchronization.

-- 
Jonathan Leffler <[EMAIL PROTECTED]>  #include <disclaimer.h>
Guardian of DBD::Informix - v2003.04 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

Reply via email to