Subject | Re: [firebird-support] Embedded for MultiThread |
---|---|
Author | Kjell Rilbe |
Post date | 2008-09-12T07:35:21Z |
Alan McDonald wrote:
So is this correct:
1. Embedded allows only one client instance (= "one single loading of
the embedded driver") to connect to the server, but it can have any
number of connections.
2. Connections should not be shared between threads, unless each use is
protected with a critical section.
Thank you,
Kjell
--
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
> he's asking if you can have a multi threaded app use the embedded driver.That's more like what I thought I knew. :-)
> You can create as many threads with as many connections (one per thread) as
> you like with the one single loading of the embedded driver.
> Maybe that's clearer.
So is this correct:
1. Embedded allows only one client instance (= "one single loading of
the embedded driver") to connect to the server, but it can have any
number of connections.
2. Connections should not be shared between threads, unless each use is
protected with a critical section.
Thank you,
Kjell
--
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64