Subject Re: [IBO] Sharing TIB_Connection,session, Transaction accross threads
Author Daniel Rail
Hi,

At September 20, 2004, 07:25, williamvdw2004 wrote:


> I am using IB objects 4.3 Aa (Firebird 1.5). It it possible to create
> a connection, session, transaction and Query in the main thread and
> use it in another thread?

No you can't. You will have to create a new session, connection,
transaction and query for each thread. And, this is not a limitation
of IBO, but a limitation of Firebird's client library, it's not
thread-safe for the moment. And, I don't know if it will be for FB
2.0 or FB 3.0, but it will be eventually.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)