Subject Re: [IBO] Urgent: Is thread safe IBO+locally atached FB SS
Author Helen Borrie
At 11:57 PM 23/01/2004 +0000, you wrote:
>I read some posts long time ago that FB is not threadsafe if
>atachments are locally. Is this still valable?
>I know that TCP/IP atachments are threadsafe if every thread has
>it's own connection to db(gds32 limitation). What I want to know if
>I access FB SS locally (each connection in one thread) is treadsafe?

Not at all with IPC local connect. And a single connection can not be
shared across threads at all, regardless of protocol.

If you need to have multiple connections in threads, use tcp/ip local
loopback and make sure each thread has its own complete package of
TIB_Session, TIB_Connection and all data access objects; and destroys what
it creates. Make sure that the TIB_Session is the first data access object
in the CreationOrder.