Subject | RE: [IBO] execute SQL statement in new thread |
---|---|
Author | Alan McDonald |
Post date | 2004-07-05T13:45:56Z |
> I want to exceute sql statement in new thread (not in main thread) - Ieach thread should have it's own connection and transaction
> dont want thay my application freezes when I execute my sql statement
> in "background". I allready have connection to the database in main
> thread. Do I need to make new connection in my thread or it is enough
> to create new TIB_DSQL in mythread and use existing connection?
>
> Matej
>
> p.s. Is there any SIMPLE example on threads?
Alan