Thanks Kirant

I posted the same ques in some another forum, and there too they said I need to use delete . But they also mentioned that I don't need to use CloseHandle(pthread->m_hThread) because the CWinThread's destructor automatically does it.


Is it true? I did not find any documentation on CWinThread's destructor.