Subject Re: Multithreaded embedded application
Author maverickthunder
Hi Elmar,

I don't know in fb 1.5 but in 2.1, I use the same handle in a multithread app (also tested in embedded and client/server version) without problems but serializing access to db with locks.

Regards, Mauro.

--- In firebird-support@yahoogroups.com, Elmar Haneke <elmar@...> wrote:
>
> I'm using fb 1.5 embedded database.
>
> A multithreaded application should access the same database from
> different threads.
>
> Is it ok to give each an separate ISC_DB_HANDLE or should I share an
> single connection between threads.
>
> When sharing Connection: Is the API thread-save ot is the explicite use
> of semaphores required?
>
> Elmar
>