. However my experience with
these handlers was that they made a mess of the code and later on the
code was incomprehensible to someone looking at the code for the first
time.
Subject:
[sqlite] implementing busy_handler
I think a good way of using sqlite in a multithreaded app is to have
your own mutex lock for the DB.
Everytime you need to execute a query just call the lock() function for
your mutex and then proceed with sqlite3_exec() calls. Followed by a
unlock() call.
Your mutex wouldn't return if the
Hi All,
I am trying to integrate SQLite in a multithreaded C++ application which
runs on Linux. I have gone through the SQLIte documentation, but it's not
clear whether the sqlite3_exec() will retry the query when the busy
handler callback is implemented and returns a non-zero value.
From
3 matches
Mail list logo