Subject | Re: [firebird-support] Is fbclient.dll threadsafe? |
---|---|
Author | Nando Dessena |
Post date | 2005-09-29T08:12:57Z |
Henner,
H> In older days the gds32.dll wasn't threadsafe so that it was necessary to
H> use one connection per thread.
not strictly true - the requirement is that "no two threads should use
a connection at the same time". The two might look similar, but
they're not the same thing - the latter allows connection pooling.
H> Is this true for firebird 1.5 too?
to the best of my knowledge, nothing changed. But attaching a Firebird
database has become such a cheap operation compared f. ex. to Oracle
that I personally don't feel the need to save connections.
Ciao
--
Nando Dessena
http://www.flamerobin.org
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================
H> In older days the gds32.dll wasn't threadsafe so that it was necessary to
H> use one connection per thread.
not strictly true - the requirement is that "no two threads should use
a connection at the same time". The two might look similar, but
they're not the same thing - the latter allows connection pooling.
H> Is this true for firebird 1.5 too?
to the best of my knowledge, nothing changed. But attaching a Firebird
database has become such a cheap operation compared f. ex. to Oracle
that I personally don't feel the need to save connections.
Ciao
--
Nando Dessena
http://www.flamerobin.org
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================