Inheritance diagram for csp::common::SkipProcess:
This process is only really useful where you need to supply a process for some reason, but you want to supply an empty process.
Named SkipProcess (rather than simply Skip) to distinguish from SkipGuard.
To use this process, you will need to include <cppcsp/common/basic.h>
Protected Member Functions | |
void | run () |
You must implement this function to provide the code for your process. |
void csp::common::SkipProcess::run | ( | ) | [inline, protected, virtual] |
You must implement this function to provide the code for your process.
When the run method finishes, the process will terminate.
You should not let an uncaught exception cause the end of this function. If it derives from std::exception, it will be caught (although this behaviour should not be relied upon) but otherwise undefined behaviour will result.
Implements csp::ThreadCSProcess.