G
Guest
I have had this issue before and a check around the groups shows a few other
people have had this problem too with no real resolution.
I have a class that performs actions. These actions are performed
multi-threaded via a ThreadStart in the Main Form.
The method that performs this is in a while loop that never exits unless the
form exits. It will sleep for 30 seconds after it has performed its action
and then it will cycle through the loop again.
This works fine and dandy but it seems that if the application does not have
focus after multiple executions the thread goes to sleep and never wakes up.
This randomly happens after about 30-60 minutes of running in the
background.
I am wondering if anybody else has ever experienced this problem and
whether there were any fixes that they had come up with.
people have had this problem too with no real resolution.
I have a class that performs actions. These actions are performed
multi-threaded via a ThreadStart in the Main Form.
The method that performs this is in a while loop that never exits unless the
form exits. It will sleep for 30 seconds after it has performed its action
and then it will cycle through the loop again.
This works fine and dandy but it seems that if the application does not have
focus after multiple executions the thread goes to sleep and never wakes up.
This randomly happens after about 30-60 minutes of running in the
background.
I am wondering if anybody else has ever experienced this problem and
whether there were any fixes that they had come up with.