SERIALIZED
This option sets the threading mode to "serialized". In other words, this option enables all mutexes including the recursive mutexes on database connection and prepared statement objects. In this mode the SQLite library will itself serialize access to database connections and prepared statements so that the application is free to use the same database connection or the same prepared statement in different threads at the same time.