Subject | RE: [firebird-support] Embedded for MultiThread |
---|---|
Author | Alan McDonald |
Post date | 2008-09-12T07:40:12Z |
> > he's asking if you can have a multi threaded app use the embeddedthere may be other application architecture reasons for using critical
> driver.
> > 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.
>
> That's more like what I thought I knew. :-)
>
> 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
sections but this is not driven by the embedded server.
Alan