![]() |
ScanDone() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: TCPPortScanner.h |
void ScanDone( BOOL bError, BOOL bSpawnThread=TRUE);
We are done
try { { //Lock CCriticalAutoRelease aRelease(m_pCSectionDone); //What shell we do? if (m_bDone || m_bFinished) return; //Set we are finished m_bFinished=TRUE; } //Thread's data ThreadData* pData; pData=new ThreadData; //Populate it pData->bError=bError; pData->pScanner=this; //Do we have a thread if (bSpawnThread) { //Spawn a thread CGenericThread* pThread; pThread=COSManager::CreateThread(DoneThread); //Set to autodelete pThread->SetAutoDelete(TRUE); //Start it pThread->Start((LPVOID)pData); } else DoneThread((LPVOID)pData); } ERROR_HANDLER("ScanDone")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |