Subject | Multi-threaded programs |
---|---|
Author | Stephen Boyd |
Post date | 2007-06-22T13:45:08Z |
I need to add a separate thread to one of my programs to allow a long
running update to take place while the user continues to work in the
foreground. What is the best way to set up the background thread?
Do I need a separate IB_Connection object for the background thread or
will a separate IB_Transaction be sufficient?
Should the IBObjects components for the background thread be in their
own TDataModule or can the reside in the same TDataModule as the one
for the foreground thread?
Anything else that you can recommend that I haven't mentioned?
running update to take place while the user continues to work in the
foreground. What is the best way to set up the background thread?
Do I need a separate IB_Connection object for the background thread or
will a separate IB_Transaction be sufficient?
Should the IBObjects components for the background thread be in their
own TDataModule or can the reside in the same TDataModule as the one
for the foreground thread?
Anything else that you can recommend that I haven't mentioned?