Subject | execute SQL statement in new thread |
---|---|
Author | Matej Golob |
Post date | 2004-07-05T13:33:48Z |
I want to exceute sql statement in new thread (not in main thread) - I
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?
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?