Subject RE: [firebird-support] Re: What does embedded mean?
Author Dmitry Yemanov
Helen,

> > > Do you mean many threads of one embedded server can connect to the
> > > same database simutaneously?
> >
> >Yes.
>
> How can this be, Dmitry? I've never found it possible to
> multi-thread
> across a single connection. One thread <-->one connection
> has always been the rule before...

Yes, you're right. The only thread-safe usage is one thread per database
connection. But you may start N threads in your app and establish N separate
connections to work simultaneously. Since the embedded server has SS
architecture, it allows that. It prevents the database files(s) from being
accessed form multiple processes, but allows multiple attachments from the
single owner process.


Dmitry