|
-
August 27th, 1999, 12:11 PM
#1
How to terminate a child thread?
The child thread can exit in three way:
1. It finishes its operation
2. It calls ExitThread
3. Parent calls TerminateThread
I know that TerminateThread is not a good idea since it won't clear the resource (or kernel object) correctly. But my application need to terminate
the child thread by some exception, how can I do that and make sure the resource are clean? Thanks.
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
|