Public Member Functions | |
CIOCPWorkerThread (CIOCompletionPort &iocp, JetByteTools::Core::IThreadPoolWorkerThreadCallback &callback) | |
Create a worker thread that is associated to the supplied CIOCompletionPort object and that calls back to the supplied interface when started, stopped or when completion packets arrive. | |
CIOCPWorkerThread (const CIOCPWorkerThread &rhs) | |
CIOCPWorkerThread & | operator= (const CIOCPWorkerThread &rhs) |
void | Start () |
Start the worker thread running. | |
void | BeginShutdown () const |
Initiate the shut down of the worker thread. | |
void | WaitForShutdownToComplete () const |
Initiates shutdown and waits for the worker thread to shut down. |
CIOCPWorkerThread | ( | CIOCompletionPort & | iocp, | |
JetByteTools::Core::IThreadPoolWorkerThreadCallback & | callback | |||
) |
Create a worker thread that is associated to the supplied CIOCompletionPort object and that calls back to the supplied interface when started, stopped or when completion packets arrive.
CIOCPWorkerThread | ( | const CIOCPWorkerThread & | rhs | ) |
CIOCPWorkerThread& operator= | ( | const CIOCPWorkerThread & | rhs | ) |
void Start | ( | ) |
Start the worker thread running.
void BeginShutdown | ( | ) | const |
Initiate the shut down of the worker thread.
void WaitForShutdownToComplete | ( | ) | const |
Initiates shutdown and waits for the worker thread to shut down.