Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Wechsler, Steven M" <WechslerSM at bernstein dot com>
Subject: RE: dbsqlsend
Date: Jun 11 1998 7:15PM

> -----Original Message-----
> From:	Michael Peppler []
> Sent:	Tuesday, June 09, 1998 6:22 PM
> To:	SybPerl Discussion List
> Subject:	RE: dbsqlsend
> Wechsler, Steven M writes:
>  > 
>  > How would using your implementation differ from the standard C
>  > implementation?  What's involved in getting Asynch I/O to work?  If
>  > dbsqlsend doesn't wait for a response, isn't that pretty much what
> I'm
>  > looking for (since dbsqlok is already implemented)?  Or is there
> more
>  > involved that I'm missing?
> I don't know what you're missing - I've never played with asynch
> stuff.
> Maybe you should look at what dbpoll() does...
Looking at my DBLib manual, it appears that all we need for asynch I/O
is dbpoll() and dbsqlsend() (and if we want to implement registered
procedure notification, you'd also need dbreghandle() and dbregwatch(),
but I suspect the demand for that is *extremely* limited)...I don't know
enough (or anything) about building Perl packages, so I wasn't able to
get this to work, but looking at the code in DBLib.xs makes me think it
shouldn't be all that difficult to do if you know what you're doing
(which obviously you do).  So I'd like to put in a formal request that
you implement these (pretty please :-) when you can (or, if you could
point me to some documentation that tells how the packages are built,
maybe I could get to it).

Steven Wechsler/Sybase DBA/Sanford C. Bernstein & Co., Inc. 
"Never underestimate the power of human stupidity" - Lazarus Long
Support the Anti-SPAM amendment: