Subject RE: [firebird-support] Embedded for MultiThread
Author Alan McDonald
> Nando Dessena wrote:
>
> > Kjell,
> >
> > K> Oh? I thought the rule was "one connection per thread"?
> >
> > As I understand, one connection per thread at the same time.
>
> Does that mean that a multi-thread application can use a single
> connection as long as it's alwasy protected with a critical section?
>
> Or does it mean that only a single thread at a time can have an open
> transaction?
>
> Or... what, exactly?
>
> Kjell

let's say this
you have exactly the same setup requirements with embedded as you do with a
normal FB multi-threaded application to a remote server.
It's identical EXCEPT that in the embedded regime, you're application will
lock and block all other server connections to the DB in question as you do
normally under an embedded connection.

Alan