-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/15/2011 10:45 AM, Steven Parkes wrote: > Not trying to throw them away ...
Isn't that exactly what NOMUTEX does? > trying to switch from Serialized to Multi-thread. My reading of the docs says that that's what SQLITE_OPEN_NOMUTEX does. Did I misinterpret something? The default compile of SQLite is threadsafe. You can use the same sqlite3 pointer concurrently from as many threads as you want. It will just work. The reason for this is that SQLite uses mutexes on each relevant API to ensure that only one thread at a time is actually using the connection. If you remove those mutexes then you will crash and burn. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3QFtQACgkQmOOfHg372QQ8UwCfbStQaZI/Mx4RBZOKpONXQtNJ 3hkAn3jKBqAs9ACQp8tFG1gGIxNEQ8Fy =AeQo -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users