On 10/19/05, Wilson Yeung <[EMAIL PROTECTED]> wrote:
>
> I wasn't doing a very good job paying attention to the FAQ about
> threading and SQLite when I wrote a bunch of code on win32.
>
> I'm sharing sqlite3 database handles between threads, although I am
> ensuring that no two threads are executing against the sqlite3
> database handle at the same time.
>
> The threads are in fact interleaving, and the sqlite3 database handle
> is indeed being shared between the two threads, and everything is
> working as I'd like it to work...
>
> Is the warning about threads in the FAQ specifically apply to Linux
> systems? Or can we pretty much say that my code is going to
> eventually break on win32 and I'm lucky that it hasn't already?
>
> Wilson
>

What version of sqlite are you using? Newer versions are supposed to
complain about being used in two different threads. As Chris said, you
should probably follow the documentation on this point, as the behavior
of threads is such that errors can often be hidden, until under stress.

John

Reply via email to