Public Member Functions | |
virtual IRingBufferWorkPoolWorkerThreadCallback & | CreateWorkerThread ()=0 |
Create and return a worker thread. | |
virtual void | DestroyWorkerThread (IRingBufferWorkPoolWorkerThreadCallback &thread)=0 |
Destroy the worker thread that you created in CreateWorkerThread(). | |
virtual void | ProcessDataAfterQueueShutdown (const BYTE *pData, DWORD dataLength)=0 |
Called for each work item in the pool when the pool is shut down. | |
Protected Member Functions | |
virtual | ~IRingBufferWorkPoolThreadFactory () |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. |
virtual ~IRingBufferWorkPoolThreadFactory | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual IRingBufferWorkPoolWorkerThreadCallback& CreateWorkerThread | ( | ) | [pure virtual] |
Create and return a worker thread.
virtual void DestroyWorkerThread | ( | IRingBufferWorkPoolWorkerThreadCallback & | thread | ) | [pure virtual] |
Destroy the worker thread that you created in CreateWorkerThread().
Called for each work item in the pool when the pool is shut down.