Subject | Re: [ib-support] firebird api is "threadable"? |
---|---|
Author | C R Zamana |
Post date | 2002-02-19T15:07:33Z |
On Tue, 2002-02-19 at 08:32, Pavel Cisar wrote:
on Linux? I don't understand.
See, my application is almost ok. The only trouble ( that
I can see right now ) is a memory leaking :-) in the daemon server,
but I'm considering that it is my problem.
By other hand I don't make yet any "stress test" on the
application to see if it is able to handle dozens or even hundreds
of connections.
Thank you for time.
Best regards.
> Hi,Sorry, but what do you mean about "client library" of Firebird
>
> 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.
>
on Linux? I don't understand.
See, my application is almost ok. The only trouble ( that
I can see right now ) is a memory leaking :-) in the daemon server,
but I'm considering that it is my problem.
By other hand I don't make yet any "stress test" on the
application to see if it is able to handle dozens or even hundreds
of connections.
Thank you for time.
Best regards.