On 7/22/07, James Mills <[EMAIL PROTECTED]> wrote:
On Sun, Jul 22, 2007 at 12:08:17AM -0700, Trevor Talbot wrote:
> sqlite does not have internal support for asynchronous queries, no.
> You said "callbacks" though, which implies you're thinking of a
> specific environment with either a thread pool or event dispatching.
> Perhaps there's already an sqlite wrapper for your environment.  What
> did you have in mind?

Actually no, I just want asyncronous queries :)
No real environment in mind.

Okay.  Well, for most of the client/server databases, they already
have an event model to piggyback on: network I/O.  Since sqlite is
embedded, it doesn't have one to use, so you have to roll your own.
Many people just dedicate a thread to sqlite work, and pass messages
back and forth to other threads using whatever method fits in with the
rest of their application.

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to