On Mon, Aug 13, 2012 at 8:51 AM, Boris Kolpackov <bo...@codesynthesis.com>wrote:

>
> Also, your explanation doesn't feel quite satisfactory to me.
>

In shared-cache mode, SQLite acquires a mutex on the shared cache, thus
serializing access.

The mutex is acquired because it is usually needed.  You can argue that
there are special cases where the mutex is not strictly needed.  That point
is debatable.  But in any case, SQLite does not attempt to implement those
special cases.  For safety and reliability, SQLite always acquires a mutex
when accessing the shared cache.


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to