On 3 Jul 2015, at 4:15pm, ALBERT Aur?lien <aurelien.albert at alyotech.fr> wrote:
> - Using a mutex, only a single thread can write to the database (but > reads can happen during this time) > > But I have sometimes "Database is locked" errors. > > Did I miss something in my configuration ? > Did I miss something in my mutex protection ? Set a timeout to a minute or two (really) using this <https://www.sqlite.org/c3ref/busy_timeout.html> and see whether anything changes. Simon.