The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CThreadSafeRingBufferWorkPool Class Reference

Inheritance diagram for CThreadSafeRingBufferWorkPool:
Collaboration diagram for CThreadSafeRingBufferWorkPool:

List of all members.

Public Types

typedef unsigned short ThreadCount
typedef ThreadIdentifier ThreadIdentifier

Public Member Functions

 CThreadSafeRingBufferWorkPool (size_t queueSize, ThreadCount numThreads, IRingBufferWorkPoolThreadFactory &threadFactory)
 CThreadSafeRingBufferWorkPool (IMonitorThreadPool &monitor, size_t queueSize, ThreadCount numThreads, IRingBufferWorkPoolThreadFactory &threadFactory)
 CThreadSafeRingBufferWorkPool (const CThreadSafeRingBufferWorkPool &rhs)
 ~CThreadSafeRingBufferWorkPool () override
CThreadSafeRingBufferWorkPooloperator= (const CThreadSafeRingBufferWorkPool &rhs)
void SetThreadName (const _tstring &threadName) const
void Start ()
void BeginShutdown ()
void WaitForShutdownToComplete ()
void Dispatch (const BYTE *const pData, DWORD dataLength)
void DispatchEx (const Data data[], const DWORD numEntries)


class  WorkerThread

Member Typedef Documentation

typedef unsigned short ThreadCount

Constructor & Destructor Documentation

CThreadSafeRingBufferWorkPool ( size_t  queueSize,
ThreadCount  numThreads,
IRingBufferWorkPoolThreadFactory threadFactory 

CThreadSafeRingBufferWorkPool ( IMonitorThreadPool monitor,
size_t  queueSize,
ThreadCount  numThreads,
IRingBufferWorkPoolThreadFactory threadFactory 

~CThreadSafeRingBufferWorkPool (  )  [override]

Member Function Documentation

void SetThreadName ( const _tstring threadName  )  const

void Start (  ) 

void BeginShutdown (  ) 

void WaitForShutdownToComplete (  ) 

void Dispatch ( const BYTE *const   pData,
DWORD  dataLength 

void DispatchEx ( const Data  data[],
const DWORD  numEntries 

Generated on Sun Sep 12 19:08:53 2021 for The Server Framework - v7.4 by doxygen 1.5.3