[vlc-devel] [PATCH] SQLite module
remi at remlab.net
Thu Nov 12 12:01:45 CET 2009
On Thu, 12 Nov 2009 11:45:01 +0100, Sébastien Escudier
<sebastien-devel at celeos.eu> wrote:
> Quoting Rémi Denis-Courmont <remi at remlab.net>:
>> 2/ whether thread-UNsafety is per database or for the whole library.
> Whole library : SQLite thread safety is set at compile time.
But does it have static data? Can *different* threads use *different*
databases in the same process at the same time, or not? If not, then this
patch's locking scheme *wrong*. But worse, we will have problems if LibVLC
is embedded in an SQLite-using programs, such as, hmm, Firefox? So, then I
agree we have to require thread-safe builds.
More information about the vlc-devel