|
-
Sep 19th, 2012, 02:50 PM
#1
Pausing Background Thread Until Operation Completes
I'm launching a background thread and running a task in that thread that takes about an hour. That task must complete before the thread continues. So I'm pausing it by calling Application.DoEvents until the method returns a value. I'm not a big fan of Application.DoEvents though.
So is there a better method to accomplish this task?
Thanks
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|