|
-
November 12th, 2008, 08:00 PM
#3
Re: Question for worker threads
 Originally Posted by zerver
Hard to say, but CloseHandle is not needed with CWinThread - it is closed automatically if you use autodelete.
And your use of events is superfluous. You can wait directly on the thread handle instead, but then you have to turn off autodelete.
Thanks for your reply. zerver. Yes, I used many events and I think may be they are causing me this problem. I will try as you told me and post my outcomes and question if any.
nankyu
Last edited by nankyu; November 12th, 2008 at 08:04 PM.
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
|