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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Asychronous communication and Sybperl.
Date: Nov 15 1999 6:51PM

Robert McIlhargie writes:
 > Michael Peppler wrote:
 > > Robert McIlhargie writes:
 > >  >
 > >  >     Is asychrounous communication supported in Sybperl? ct_poll()
 > >  > doesn't seem to be defined, but I
 > >  > can set CS_NETIO to CS_DEFER_IO. If it is supported does anyone have any
 > >  > examples of its usage?
 > >
 > > THere's some support for asynch calls in DBlib, but none in CTlib at
 > > the moment.
 > >
 > > Patches welcome :-)
 > >
 >     I'd be willing to do this. Any hints on where to start? Is it just a matter
 > of adding XSUB code
 > for the various CTLib functions?

I think that's mostly it, although the boot code (in the initialize()
function) sets the NETIO mode before allocating the context. There may 
need to be a way to allocate alternate contexts, and from there use
the asynch options. I haven't really looked into this, though.

Michael Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: