Subject | Re: [ib-support] firebird api is "threadable"? |
---|---|
Author | Pavel Cisar |
Post date | 2002-02-19T11:32:33Z |
Hi,
On 18 Feb 2002, at 16:06, C R Zamana wrote:
> I'm developing a client/server aplication using the
> firebird api and sockets to comunicate with the database,
> and the server side of this application uses thread (pthreads)
> to handle each client connection.
>
> Question: is firebird api "threadable"? In other words,
> is safe to built an application like this, with all the
> consequences that a "thread" application carry on?
>
> The environment is Linux ( RH 7.2 ).
Firebird client library is not fully thread-safe, but threadable. Just
use separate connection for each thread. Unfortunately, this
currently doesn't work on Linux (other platforms work well,
especially on Windows) due to some obscure bugs. So, you can't
write threaded _Linux clients_ right now (you can on other
platforms), but we're working on the fix. It's possible that we don't
make it in time for final 1.0. In that case, we'll release a separate
fixed Linux client ASAP.
Best regards
Pavel Cisar
http://www.ibphoenix.com
For all your upto date Firebird and
InterBase information