process-cpp: /build/process-cpp/src/process-cpp-3.0.1/include/core/posix/signal.h File Reference

process-cpp 3.0.0 A simple convenience library for handling processes in C++11.

Classes | Namespaces | Enumerations | Functions
signal.h File Reference
`#include <core/posix/visibility.h>`
`#include <core/signal.h>`
`#include <signal.h>`
`#include <initializer_list>`
`#include <memory>`
Include dependency graph for signal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | core::posix::SignalTrap
| The SignalTrap class encapsulates functionality to trap and handle signals. More...

## Namespaces
| core
| core::posix

## Enumerations
enum | core::posix::Signal { core::posix::Signal::unknown = 0, core::posix::Signal::sig_hup = SIGHUP, core::posix::Signal::sig_int = SIGINT, core::posix::Signal::sig_quit = SIGQUIT, core::posix::Signal::sig_ill = SIGILL, core::posix::Signal::sig_abrt = SIGABRT, core::posix::Signal::sig_fpe = SIGFPE, core::posix::Signal::sig_kill = SIGKILL, core::posix::Signal::sig_segv = SIGSEGV, core::posix::Signal::sig_pipe = SIGPIPE, core::posix::Signal::sig_alrm = SIGALRM, core::posix::Signal::sig_term = SIGTERM, core::posix::Signal::sig_usr1 = SIGUSR1, core::posix::Signal::sig_usr2 = SIGUSR2, core::posix::Signal::sig_chld = SIGCHLD, core::posix::Signal::sig_cont = SIGCONT, core::posix::Signal::sig_stop = SIGSTOP, core::posix::Signal::sig_tstp = SIGTSTP, core::posix::Signal::sig_ttin = SIGTTIN, core::posix::Signal::sig_ttou = SIGTTOU }
| The Signal enum collects the most common POSIX signals. More...

## Functions
CORE_POSIX_DLL_PUBLIC std::shared_ptr< SignalTrap > | core::posix::trap_signals_for_process (std::initializer_list< core::posix::Signal > blocked_signals)
| Traps the specified signals for the entire process. More...
CORE_POSIX_DLL_PUBLIC std::shared_ptr< SignalTrap > | core::posix::trap_signals_for_all_subsequent_threads (std::initializer_list< core::posix::Signal > blocked_signals)
| Traps the specified signals for the current thread, and inherits the respective signal mask to all child-threads. More...