PionNetworkLibrary
|
#include <process.hpp>
Classes | |
struct | config_type |
data type for static/global process configuration information More... | |
Public Member Functions | |
~process () | |
process (void) | |
default constructor More... | |
Static Public Member Functions | |
static void | shutdown (void) |
signals the shutdown condition More... | |
static void | wait_for_shutdown (void) |
blocks until the shutdown condition has been signaled More... | |
static void | initialize (void) |
sets up basic signal handling for the process More... | |
static void | daemonize (void) |
fork process and run as a background daemon More... | |
Static Protected Member Functions | |
static config_type & | get_config (void) |
returns a singleton instance of config_type More... | |
process: class for managing process/service related functions
|
inline |
|
inline |
default constructor
|
static |
fork process and run as a background daemon
|
inlinestaticprotected |
returns a singleton instance of config_type
Referenced by shutdown(), and wait_for_shutdown().
|
static |
sets up basic signal handling for the process
References pion::handle_signal().
|
static |
signals the shutdown condition
References get_config(), pion::process::config_type::shutdown_cond, pion::process::config_type::shutdown_mutex, and pion::process::config_type::shutdown_now.
Referenced by pion::handle_signal().
|
static |
blocks until the shutdown condition has been signaled
References get_config(), pion::process::config_type::shutdown_cond, pion::process::config_type::shutdown_mutex, and pion::process::config_type::shutdown_now.