Code:
CWinThread* myThread;
myThread = AfxBeginThread(ThreadFunction, this, THREAD_PRIORITY_NORMAL, 0, 0);


If I want to kill this thread, how to do that?

Thanks