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

IManageThreadPoolThreads Class Reference
[Win32 Threading primitivesInterfacesProtected destructors on abstract base classes]

Inheritance diagram for IManageThreadPoolThreads:

List of all members.


Detailed Description

An interface to allow a thread pool to monitor the actions of the threads that it manages.

Public Types

typedef long ThreadIdentifier

Public Member Functions

virtual void OnThreadPoolThreadStarted (const ThreadIdentifier &thread)=0
 Called when a thread pool thread starts to run.
virtual void OnThreadPoolProcessingStarted (const ThreadIdentifier &thread, bool dataAvailable)=0
 Called when a thread pool thread starts processing a work item.
virtual void OnThreadPoolProcessingStopped (const ThreadIdentifier &thread, bool dataAvailable)=0
 Called when a thread pool thread has finished processing a work item.
virtual void OnThreadPoolThreadStopped (const ThreadIdentifier &thread)=0
 Called when a a thread pool thread has stopped.

Protected Member Functions

virtual ~IManageThreadPoolThreads ()
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.

Member Typedef Documentation


Constructor & Destructor Documentation

virtual ~IManageThreadPoolThreads (  )  [protected, virtual]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

virtual void OnThreadPoolThreadStarted ( const ThreadIdentifier thread  )  [pure virtual]

Called when a thread pool thread starts to run.

virtual void OnThreadPoolProcessingStarted ( const ThreadIdentifier thread,
bool  dataAvailable 
) [pure virtual]

Called when a thread pool thread starts processing a work item.

virtual void OnThreadPoolProcessingStopped ( const ThreadIdentifier thread,
bool  dataAvailable 
) [pure virtual]

Called when a thread pool thread has finished processing a work item.

virtual void OnThreadPoolThreadStopped ( const ThreadIdentifier thread  )  [pure virtual]

Called when a a thread pool thread has stopped.


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