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. |
typedef long ThreadIdentifier |
Reimplemented in CThreadPool, CThreadPoolEx, CThreadSafeRingBufferWorkPool, CThreadPool, and CThreadPoolEx.
virtual ~IManageThreadPoolThreads | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
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.