Subject Re: [IBO] Multi - Threading or not?
Author Daniel Rail
Hi,

At April 8, 2004, 23:20, Calin Pirtea(RDS) wrote:

> Does all this under the hood buffer management happen in the same thread as
> the main application?
> Or does it happen in a thread for the IB_Connection?

If you don't create separate threads yourself, then everything happens
in the application's main thread.

> If I use multiple connections will the fetch requests be asynchronous?
> Or IBO will do them one by one in a single thread?

Everything is done in one thread in the order that you have them in
your code.

> In other words will I have to create multiple threads by myself or is it
> enough to have multiple connections?

You will probably have to create one thread for each connection. But
I'm not sure if the visual dataware components would have to be in the
same thread as the connection and query components. This you would
have to experiment yourself.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)