Inheritance diagram for AxPipe::CThreadNoRun< T >:
Public Member Functions
|Wait for the worker thread to terminate, then close handles etc. |
|Initiate one Work() cycle - called from outside worker thread. |
|Signal that we've prepared for more Work() - called from outside worker thread. |
|Wait for more to be ready for Work() - this is called in the worker thread. |
|End one Work() cycle - called from the worker thread. |
|virtual void||WorkExitWait ()|
|Wait for the Work()-thread, if any, to terminate. |
|Implement worker thread synchronization. |
The basic thread mechanism revolves around a number of virtual functions that are overriden here, such as Work(). All synchronization etc is handled by the class, and the Work() function is called in it's own thread.
To enable threading use the appropriate CSource, CPipe or CSink derived class as the argument.
Definition at line 134 of file CThread.h.