Subject | Re: Hanging by a Thread |
---|---|
Author | inoffensive_2006 |
Post date | 2007-10-01T04:36:57Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...> wrote:
Kjell, I believe you are correct. The last exchange was
due to terminology, rather than substance. But I couldn't
have figured this out without help, and I appreciate the
effort of those who pitched in.
Larry
>datasets/cursors
> At 07:11 PM 30/09/2007, Kjell Rilbe wrote:
>
> > > You're confused apparently because you think "the data from the
> > > select" has nothing to do with the connection.
> >
> >I think you're both misunderstanding each other, but I may be wrong.
> >
> >If I'm not completely misundestanding things, this is how it is:
> >
> >1. Each thread has to use its own connection(s) and any
> >that are opened withint a certain thread via one of that thread'sinto any
> >connections can be accessed by that thread only.
> >
> >2. If that thread extracts data from the datatset and writes it
> >kind of application specific data structure, that has nothing to dowith
> >Firebird, that extracted data can be accessed by any thread, atleast if
> >those data structures are made thread safe.Thanks again Helen, Adam and Kjell:
> >
> >Please correct me if I'm wrong.
>
> Kjell, that is correct. Data that is copied out of its data access
> context is totally dissociated from the database, it is nothing but a
> copy of a snapshot.
Kjell, I believe you are correct. The last exchange was
due to terminology, rather than substance. But I couldn't
have figured this out without help, and I appreciate the
effort of those who pitched in.
Larry