Simon Slavin wrote: > More recent versions introduced another mode (WAL) > in which any number of queries can take place without locking the database.
That would be file locking, not a critical section. This appears to be a problem with using the SQLite C API. Regards, Clemens