GNU Radio 3.5.3.2 C++ API
|
Get and set signal handler. More...
#include <gr_local_sighandler.h>
Public Member Functions | |
gr_local_sighandler (int signum, void(*new_handler)(int)) | |
~gr_local_sighandler () | |
Static Public Member Functions | |
static void | throw_signal (int signum) |
Get and set signal handler.
Constructor installs new handler, destructor reinstalls original value.
gr_local_sighandler::gr_local_sighandler | ( | int | signum, |
void(*)(int) | new_handler | ||
) |
gr_local_sighandler::~gr_local_sighandler | ( | ) |
static void gr_local_sighandler::throw_signal | ( | int | signum | ) | [static] |