Subject | RE: [firebird-support] Re: What does embedded mean? |
---|---|
Author | Dmitry Yemanov |
Post date | 2003-09-26T11:06:52Z |
Helen,
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
> > > Do you mean many threads of one embedded server can connect to theYes, you're right. The only thread-safe usage is one thread per database
> > > 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...
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