|
-
Apr 10th, 2006, 12:25 PM
#1
Thread Starter
Member
How to kill a thread ?
Hi ,
How do I kill a thread that was created by using CreateThread API ?
And what is the difference between TerminateThread and ExitThread APIs ?
I am running a code within a newly created Thread wihch basically just runs an infinite loop but I can't manage to stop or kill the thread in order to exit the loop !!
When I try calling the 2 APIs above, instead of ending the thread, they just manage to crash the whole application
Any thoughts ?
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
|