Perform a system call within a thread. More...
#include <SystemCallTask.hh>
Public Member Functions | |
SystemCallTask () | |
Constructor. | |
SystemCallTask () | |
Constructor. | |
Protected Member Functions | |
virtual int | eval ()=0 |
Action to be performed. | |
virtual int | eval ()=0 |
Action to be performed. | |
Perform a system call within a thread.
This is an abstract class that should be used as the base for a class that is to perform some system call usually within a thread.
LDASTools::AL::SystemCallTask::SystemCallTask | ( | ) |
Constructor.
Because system calls can be very peristant within a thread context, system calls are set up to background without a reaper to prevent resource starvation for the rest of the code.