Subject | Re: [IBO] Transaction Timeout w/Multithreaded app |
---|---|
Author | bnuckels@midrid.com |
Post date | 2003-02-20T19:35:12Z |
I've found the best solution to using multiple threads is to have a
datamodule with all my components on it (including a connection component
and transaction components) and create an instance of that datamodule for
each thread. I have a thread-pooling system that works like this, and I
never seem to have any issues. If it's a threading issue, this can help.
If it's an Interbase deadlock problem, that has to be resolved just like
multi-user deadlock issues.
---------
Brian Nuckels
MRG Document Technologies
datamodule with all my components on it (including a connection component
and transaction components) and create an instance of that datamodule for
each thread. I have a thread-pooling system that works like this, and I
never seem to have any issues. If it's a threading issue, this can help.
If it's an Interbase deadlock problem, that has to be resolved just like
multi-user deadlock issues.
---------
Brian Nuckels
MRG Document Technologies