Jump to content
Sign in to follow this  
Hrushikesh Shet

OmniThreadLibrary Issue - WaitFor() Doesn't executes the task for some random records

Recommended Posts

We are working on a legacy application that is built using Delphi XE6. We have used the Omni Thread library and have version 3.05: 2015-09-07 installed.

 

We are facing an issue while executing this OTL code. When the control reaches line aTaskControl.WaitFor(10000); it doesn't execute any task. It skips and terminates the thread. This is happening randomly and more specifically in our Production environment whereas in the Dev environment it works fine.

 

In our task, we are connecting to our database and performing some checks and updating the records based on some business logic.

 

Any inputs or suggestions will be really helpful and appreciated.

 

Thanks.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×