2008/6/23 Massimo Cora' <[EMAIL PROTECTED]>:
> Hi Vivien,
>
>
> Massimo CorĂ  wrote:
>>
>> yes, the two connections use the SQLite provider.
>> I'm already using mutexes to avoid concurrent accesses to the same db on
>> the same connection, but the best option would probably be that the
>> library takes care of syncronize the accesses when two connections are
>> used.
>>
>
> it crashes even if I share the mutexes, i.e. only one mutex for the two
> connections and just a statement executed exclusively. Seems like [just
> a feeling, I have not checked] that something static is used in provider
> or in some context.

I've just made some corrections, and now using connections in threads
should work as long as the same object is not used by 2 different
threads. Could you test that it works for you?

Vivien
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to