Subject | Re: [firebird-support] Re: embedded server multiple connection |
---|---|
Author | Nando Dessena |
Post date | 2004-11-16T13:41:48Z |
Hello,
k> restrictions in connection/thread issues. Is there is any issue when
k> we get connections via different threads in embedded server. How
k> different it is from super server?
never ever use a single connection (attachment) from two threads at
the same time. The safe way of working is to let each thread have its
own connection, or pool connections if you need to but lock each from
use by two threads at the same time.
These same restrictions apply to every kind of Firebird server, since
they're client limitations.
Ciao
--
Nando Dessena
http://www.flamerobin.org
>> with the usualk> Thanks for your response. Could you explain me what are the
>> restrictions about connection/thread issus.
k> restrictions in connection/thread issues. Is there is any issue when
k> we get connections via different threads in embedded server. How
k> different it is from super server?
never ever use a single connection (attachment) from two threads at
the same time. The safe way of working is to let each thread have its
own connection, or pool connections if you need to but lock each from
use by two threads at the same time.
These same restrictions apply to every kind of Firebird server, since
they're client limitations.
Ciao
--
Nando Dessena
http://www.flamerobin.org