On 06/02/2014 08:36 PM, Hick Gunter wrote:
If you compile with SQLITE_THREADSAFE=1 then multiple calls from different 
threads will be serialized by SQLite.

"Serialized" means that only one thread at a time will be allowed to run within SQLite; 
API calls from other threads will block until the currently running thread returns. If your 
application uses virtual tables implemented with native tables, then there may be an issue with 
deadlocks (appl -> sqlite3_step -> virtual table code -> sqlite3_step would cause the 
same thread to recursively enter SQLite).

Both FTS4 and Rtree do this, and both work with SQLite connections in serialized mode. SQLite is re-entrant.

Dan.


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to