CWinThread::m_bAutoDelete
Specifies whether the CWinThread object should be automatically deleted at thread termination.
BOOL m_bAutoDelete;
Remarks
The m_bAutoDelete data member is a public variable of type BOOL.
The value of m_bAutoDelete does not affect how the underlying thread handle is closed. The thread handle is always closed when the CWinThread object is destroyed.
Requirements
Header: afxwin.h