|
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 |
Additional Inherited Members | |
Protected Member Functions inherited from BLOCXX_NAMESPACE::IntrusiveCountableBase | |
| IntrusiveCountableBase () | |
| IntrusiveCountableBase (const IntrusiveCountableBase &) | |
| IntrusiveCountableBase & | operator= (const IntrusiveCountableBase &) |
| virtual | ~IntrusiveCountableBase () |
Abstract interface for abstracting details of dealing with a process.
Definition at line 296 of file Process.hpp.
|
virtual |
Definition at line 255 of file Process.cpp.
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. Referenced by BLOCXX_NAMESPACE::Process::killWait().
|
pure virtual |
!s.terminated()</t> for the return value s of any previous call to pollStatus for @pid. | ProcessErrorException | on error. |
Referenced by BLOCXX_NAMESPACE::Process::processStatus(), and BLOCXX_NAMESPACE::Process::terminatesWithin().