|
blocxx
|
Abstract interface for abstracting details of dealing with a process. More...
#include <Process.hpp>
Public Member Functions | |
| virtual | ~ProcessImpl () |
| virtual int | kill (ProcId pid, int sig)=0 |
| Sends signal sig to process pid. | |
| virtual Process::Status | pollStatus (ProcId pid)=0 |
Abstract interface for abstracting details of dealing with a process.
Definition at line 296 of file Process.hpp.
| BLOCXX_NAMESPACE::ProcessImpl::~ProcessImpl | ( | ) | [virtual] |
Definition at line 257 of file Process.cpp.
| virtual int BLOCXX_NAMESPACE::ProcessImpl::kill | ( | ProcId | pid, |
| int | sig | ||
| ) | [pure virtual] |
Sends signal sig to process pid.
If pid is less than -1, then sig is sent to every process in the process group -pid.
errno on failure. | virtual Process::Status BLOCXX_NAMESPACE::ProcessImpl::pollStatus | ( | ProcId | pid | ) | [pure virtual] |
!s.terminated()</t> for the return value s of any previous call to pollStatus for . | ProcessErrorException | on error. |
1.7.3