[vlc-devel] [PATCH] SQLite module

Rémi Denis-Courmont remi at remlab.net
Thu Nov 12 12:07:49 CET 2009

On Wed, 11 Nov 2009 21:03:09 +0200, "Rémi Denis-Courmont"
<remi at remlab.net> wrote:
>> trans_lock ensures that no two threads can be running a transaction at
>> one time. Again, same issue as above.
> I still don't see why do you need two *nested* locks...
> The transaction lock is totally useless if you always acquire the other
> lock at the same time.

Let me take that back, sorry. If you one thread accessing the DB through
transaction and one not through transactions, then two distinct locks do
make sense.

Rémi Denis-Courmont

More information about the vlc-devel mailing list