process-cpp
3.0.0
A simple convenience library for handling processes in C++11.
|
The ProcessGroup class models a signalable group of process. More...
#include <process_group.h>
Classes | |
struct | Private |
Public Member Functions | |
virtual pid_t | id () const |
Accesses the id of this process group. More... | |
![]() | |
virtual void | send_signal_or_throw (Signal signal) |
Sends a signal to this signalable object. More... | |
virtual void | send_signal (Signal signal, std::error_code &e) noexcept(true) |
Sends a signal to this signalable object. More... | |
Protected Member Functions | |
CORE_POSIX_DLL_LOCAL | ProcessGroup (pid_t id) |
![]() | |
CORE_POSIX_DLL_LOCAL | Signalable (pid_t pid) |
Friends | |
class | Process |
The ProcessGroup class models a signalable group of process.
Summary from http://en.wikipedia.org/wiki/Process_group:
In POSIX-conformant operating systems, a process group denotes a collection of one or more processes. Process groups are used to control the distribution of signals. A signal directed to a process group is delivered individually to all of the processes that are members of the group.
Definition at line 43 of file process_group.h.
|
protected |
Definition at line 35 of file process_group.cpp.
|
virtual |
Accesses the id of this process group.
Definition at line 30 of file process_group.cpp.
|
friend |
Definition at line 53 of file process_group.h.