[Tutor] How to deal with a thread that doesn't terminate
Tiger12506
keridee at jayco.net
Thu Feb 21 00:13:14 CET 2008
Similar to the TerminateProcess function in win32api, there is the
TerminateThread function which you can use if you know the handle of the
thread, but it seems that you can only get the thread handle if you are
calling from that thread, or if you were the one who created it (and saved
the return of CreateThread). You can get the thread handle with
GetCurrentThread. (these are all win32api functions)
More information about the Tutor
mailing list