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

CThreadPool::WorkerThread Class Reference
[Win32 Threading primitives]

Inheritance diagram for CThreadPool::WorkerThread:
Collaboration diagram for CThreadPool::WorkerThread:

List of all members.

Detailed Description

A worker thread for the CThreadPool. The user work is done by an instance of IThreadPoolWorkerThread which is created by the supplied factory in the worker thread's constructor and destroyed in the destructor.

Public Member Functions

 WorkerThread (CThreadSafeWorkQueue &workQueue, CManualResetEvent *pMessageReceivedEvent, CManualResetEvent *pShutdownEvent, IManageThreadPoolThreads &pool, IThreadPoolWorkerThreadFactory &workerThreadFactory, const ThreadIdentifier &threadIdentifier)
 WorkerThread (const WorkerThread &rhs)
 ~WorkerThread () override
WorkerThreadoperator= (const WorkerThread &rhs)

Constructor & Destructor Documentation

WorkerThread ( CThreadSafeWorkQueue &  workQueue,
CManualResetEvent pMessageReceivedEvent,
CManualResetEvent pShutdownEvent,
IManageThreadPoolThreads pool,
IThreadPoolWorkerThreadFactory workerThreadFactory,
const ThreadIdentifier threadIdentifier 

WorkerThread ( const WorkerThread rhs  ) 

~WorkerThread (  )  [override]

Member Function Documentation

WorkerThread& operator= ( const WorkerThread rhs  ) 

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