Subject | Re: [firebird-support] Re: Threading using multiple connections |
---|---|
Author | Martijn Tonies |
Post date | 2013-08-02T08:03:35Z |
Hi Vlad,
thread is already waiting for the API to return, right?
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
>> Can someone let me know if the following is thread-safe:You mean that connect/disconnect cannot be done while another
>>
>> - a client library from Firebird version 1, 1.5, 2 or 2.1
>> - using a connection per thread
>> - executing calls via multiple threads
>
> Add also: protect attach\detach calls with common mutex.
thread is already waiting for the API to return, right?
> Regards,Yes.
> Vlad
>
> PS v2.5 client should be free from the limitations above, you surely know
> it :)
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!