|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Error while make test
Date: Apr 9 1999 2:48PM
David E Shapiro writes:
> That worked. What is the dbpoll and what is the affect of putting
> something like dbpoll(10000000)?
dbpoll() is used when you send a query asynchronously (sp?) to the
server (ie you send the query, but you don't want to wait for results
to come back). You the call dbpoll() at regular intervals to see if
there are any results pending so that you can process them. dbpoll(-1)
is *supposed* to wait an indefinite amount of time before it returns
if there are no results pending, dbpoll(1000) will wait for 1 second
(1000 millisecons) before it returns if there are no results pending.
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|