![]() |
CWin32Thread() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Constructor |
Declared in: Win32Thread.h |
DeclarationCWin32Thread( LPGenericThreadProc pThreadProc);
DescriptionCtor and Dtor pThreadProc - The thread proc to use
Initializer Override(s)
Function Body
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")
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |