Пример #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.";
}