On 10/28/16, Jens Alfke <[email protected]> wrote:
> Do I need to worry about concurrent calls to custom functions (or virtual
> tables) that I register with SQLite? They’re associated with only a single
> connection, but with Serialized mode, that connection could be used from
> multiple threads. And what if I use `pragma threads` to enable helper
> threads?

An application defined function or virtual table might be called at
the same time from multiple threads, but only from separate database
connections.  Within a single database connection, all calls to
functions and virtual table methods are serialized by mutexes internal
to SQLite.
--
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to