![]() |
CWin32Thread() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Constructor |
Declared in: Win32Thread.h |
CWin32Thread( LPGenericThreadProc pThreadProc);
Ctor and Dtor pThreadProc - The thread proc to use
try { //Set our name SetName(CWin32Thread_Class); //Create the thread if (m_pThreadProc) { //Create the thread in suspend mode m_hThread=CreateThread(NULL, 0, Win32Thread, this, CREATE_SUSPENDED, &m_dwThreadID); //Check if created if (m_hThread) SetThreadStatus(tsSuspended); } } ERROR_HANDLER("CWin32Thread")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |