On Tue, Nov 12, 2013 at 11:58 AM, Constantine Yannakopoulos <
[email protected]> wrote:

> I need to know whether SQLite synchronizes its
> invocations to the callbacks of these objects or whether I have to take
> care of protecting the data members these callbacks are using from
> concurrent access in my own code.
>

SQLite serializes callbacks to extension objects originating from a single
database connection.  But if you have multiple database connections running
in separate threads, then the same callback might be invoked simultaneously
from multiple threads.  You'll need to serialize access to your private
data structures yourself.


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to