Subject | Re: [firebird-support] gds_thread_enter contention |
---|---|
Author | Dmitry Yemanov |
Post date | 2008-05-06T05:52:04Z |
Bud Millwood wrote:
acquired when any thread enters the API call and released as soon as the
network packet is ready to be sent to the remote server. So, the
blocking time is very short (compared to the network transport overhead
and the server side processing of the call) and I don't think it really
limits your performance.
Dmitry
>Yes, fbclient is synchronized using some kind of global mutex. It is
> - Does the fbclient library acquire a process-wide lock when a thread passes
> through it (even when connecting to fb-classic)? If so, doesn't that
> counteract the gains we get by running multiple fb-classic instances?
acquired when any thread enters the API call and released as soon as the
network packet is ready to be sent to the remote server. So, the
blocking time is very short (compared to the network transport overhead
and the server side processing of the call) and I don't think it really
limits your performance.
Dmitry