Subject | Re: [firebird-support] Multithreaded embedded application |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2009-08-03T14:15:25Z |
> I'm using fb 1.5 embedded database.You must not share single connection between threads. Ever.
>
> 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 useSerialization of API calls appeared fbclient only in version 2.5.
> of semaphores required?
SY, SD.