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.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com