On 7/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

It has been suggested that I add a mutex to every SQLite
database connection.  This would cause access to a database
connection to automatically serialize even when two or more
threads try to use that connection at once, thus preventing
problems such as the above.

How about having mutex_(un)lock callbacks that the library would call?
It'd be the app's choice how (or if at all) to implement the locking.
It'd be great if this feature could be switched on/off at compile
time, though.

And let's say it'd be allowed to set the callbacks only before opening
the first connection in the process.

Peter

Reply via email to