hmbdc
simplify-high-performance-messaging-programming
Static Public Member Functions | List of all members
hmbdc::os::HandleSignals Struct Reference

provides functions to handle signals More...

#include <Signals.hpp>

Static Public Member Functions

static void onTermIntDo (function< void()> doThis)
 specfy what to do when SIGTERM or SIGINT is received More...
 

Detailed Description

provides functions to handle signals

Member Function Documentation

static void hmbdc::os::HandleSignals::onTermIntDo ( function< void()>  doThis)
inlinestatic

specfy what to do when SIGTERM or SIGINT is received

will install signal handlers - might make previous installed handlers not working, so don't call this more than once

Parameters
doThisa function<void()> or more lkely a lambda specifying what to do
Examples:
ipc-market-data-propagate.cpp, perf-base-thru.cpp, and server-cluster.cpp.

The documentation for this struct was generated from the following file: