#include <sockagg.h>
Inheritance diagram for PHandleAggregator::WorkerThreadBase:
Public Member Functions | |
WorkerThreadBase (EventBase &_event) | |
virtual void | Trigger ()=0 |
void | Main () |
Public Attributes | |
PMutex | workerMutex |
EventBase & | event |
PAggregatedHandleList_t | handleList |
BOOL | listChanged |
BOOL | shutdown |
PHandleAggregator::WorkerThreadBase::WorkerThreadBase | ( | EventBase & | _event | ) |
virtual void PHandleAggregator::WorkerThreadBase::Trigger | ( | ) | [pure virtual] |
void PHandleAggregator::WorkerThreadBase::Main | ( | ) | [virtual] |
User override function for the main execution routine of the thread. A descendent class must provide the code that will be executed in the thread within this function.
Note that the correct way for a thread to terminate is to return from this function.
Implements PThread.