![]() |
ManagedThread() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: ManagedThread.h |
static DWORD ManagedThread( LPVOID lpData);
Our thread proc
try { //Get our class CManagedThread* pClass; pClass=(CManagedThread*)lpData; //Do we exit BOOL bExit; bExit=FALSE; //Set we are alive if (pClass->m_pEnterEvent) pClass->m_pEnterEvent->Set(); else return FALSE; //The value DWORD dwValue; //Call the user proc try { dwValue=(*pClass->m_pUserProc)(pClass->m_pExitEvent, pClass->m_lpData); } catch (...) { dwValue=FALSE; } //Set the exit event pClass->m_pEnterEvent->Set(); //Exit return dwValue; } ERROR_HANDLER_STATIC_RETURN(CManagedThread_Class,"ManagedThread",FALSE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |