Re: [gnome-db] libgda and threads on different connections



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.

regards,
Massimo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]