3 ms·
https://www.sqlite.org/threadsafe.html https://www.sqlite.org/threadsafe.html Three modes are supported: one where the library does no locking and you can only
by immibis 2y ago
https://www.sqlite.org/threadsafe.html https://www.sqlite.org/threadsafe.html
Three modes are supported: one where the library does no locking and you can only use the library from one thread at a time; one where global structures are locked but not connections so you can use each connection from one thread at a time; and one where everything is locked.
For actual concurrency you probably want one database connection per thread.