예제 #1
0
SocketMgr::~SocketMgr()
{
	ShutdownThreads();

	if (m_hThreads != NULL)
		delete [] m_hThreads;

	DecRef();
}
예제 #2
0
void SocketMgr::Shutdown()
{
	if (m_bShutdown)
		return;

	ShutdownThreads();

	DecRef();
	m_bShutdown = true;
}2
예제 #3
0
ThreadPool::~ThreadPool()
{
	ShutdownThreads((u32)_threads.size());
	tlog::debug() << "All threads terminated.";
}