VC++ 线程池IOCP模式下的封装
VC++ 线程池IOCP模式下的封装 CThreadPool::CThreadPool( size_t initialThreads, size_t minThreads, size_t maxThreads, size_t maxDormantThreads, size_t poolMaintPeriod, size_t dispatchTimeout, size_t maxThreadsDispatchTimeout, size_t numReads, bool usingSequenceNumbers, bool useMultipleWrites) : JetByteTools::Win32::CThreadPool( initialThreads, minThreads, maxThreads, maxDormantThreads, poolMaintPeriod, dispatchTimeout, maxThreadsDispatchTi meout), m_numReads(numReads), m_usingSequenceNumbers(usingSequenceNumbers), m_useMultipleWrites(useMultipleWrites) { }
用户评论