On 26 Aug 2004, at 16:48, Dean Arnold wrote:

While this handles async execution, esp. in support of multiconnection
operations relevant to Teradata's parallel nature,
it doesn't really handle async completion notification, and
I'm not certain there's a clean, DBMS-independent way to support
that without using timers, signals, or threads, all of which
may be problematic.

I would favour some kind of filehandle for completion notification - this way it will integrate much nicer with other event loop systems. It could be a simple pipe that you write something to when there's data ready, and your event loop can select()/poll() on the other end of the pipe.


Matt.



Reply via email to