![]() |
~CSocketThreadManager() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Destructor |
Declared in: SocketThreadManager.h |
Declarationvirtual ~CSocketThreadManager();
Function Body
try
{
//Release the critical section
DeleteCriticalSection(&m_pCSection);
//Delete the thread data
if (m_pThreadData)
{
for (int iCounter=0;iCounter<=m_iThreadCount;++iCounter)
//Post a stop message
if (m_pThreadData[iCounter].hThreadHandle)
{
PostThreadMessage(m_pThreadData[iCounter].dwThreadID,WM_QUIT,0,0);
//Delete the window
DestroyWindow(m_pThreadData[iCounter].hWindowHandle);
}
//Delete the structure
delete [] m_pThreadData;
}
}
ERROR_HANDLER("~CSocketThreadManager")
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 24 Apr 2001. |