Re: [gnome-db] libgda and threads on different connections
- From: Massimo Cora' <maxcvs email it>
- To: Vivien Malerba <vmalerba gmail com>
- Cc: gnome-db list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] libgda and threads on different connections
- Date: Mon, 23 Jun 2008 23:38:07 +0200
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]