On 1/21/07, Andrew Teirney <[EMAIL PROTECTED]> wrote:

> What is a 'shared' lock? You can't share a lock, only one process can
> own it
> at a time.
>

As per this document

http://www.sqlite.org/lockingv3.html

SHARED  The database may be read but not written. Any number of processes
can hold SHARED locks at the same time, hence there can be many
simultaneous readers. But no other thread or process is allowed to write
to the database file while one or more SHARED locks are active.


A file lock is used to serialize write access. W hen reading the file is not
locked.
This makes little sense. There are no 'shared' locks.

Reply via email to