Subject | Re: [firebird-support] fbclient.dll thread safe ? |
---|---|
Author | Olivier Mascia |
Post date | 2003-09-05T06:38:08Z |
Friday 05 Sep 2003, 05:38, jnfbr écrivait :
It is at least safe to use it in a multi-threaded app, as long as all
work that you do with one connection handle is done through one same
thread.
Note that this way of working might be more restrictive than what is
possible, but at least I know for using it that way for years (gds32.dll
and now fbclient.dll) that it is safe to use in such a manner.
Also, don't use the 'local' protocol (connection strings as
"/db/database.fdb") but got through tcp/ip (connections strings as
"server:/db/database.fdb").
--
Best Regards,
Olivier Mascia
> Hello FriendsNot completely, while I might have missed recent developments.
> Is fbclient.dll thread safe ?
> TIA
> Jed
It is at least safe to use it in a multi-threaded app, as long as all
work that you do with one connection handle is done through one same
thread.
Note that this way of working might be more restrictive than what is
possible, but at least I know for using it that way for years (gds32.dll
and now fbclient.dll) that it is safe to use in such a manner.
Also, don't use the 'local' protocol (connection strings as
"/db/database.fdb") but got through tcp/ip (connections strings as
"server:/db/database.fdb").
--
Best Regards,
Olivier Mascia