22 typedef std::function<void(unsigned int)> Handler;
29 static void send(
long pid,
const std::string name);
39 static void send(
const Poco::Thread &thread,
const std::string &name);
45 static void ignore(
const std::string &name);
52 static void handle(
const std::string &name, Handler handler);
66 static unsigned int byName(
const std::string &name);
68 static void send(
long pid,
unsigned int num);
69 static void send(
const Poco::Thread &thread,
unsigned int num);
70 static void ignore(
unsigned int num);
71 static void handle(
unsigned int num, Handler handler);
static unsigned int byName(const std::string &name)
Definition: PosixSignal.cpp:45
The class implements working with POSIX signals.
Definition: PosixSignal.h:17
static void send(long pid, const std::string name)
static void ignore(const std::string &name)
static void handle(const std::string &name, Handler handler)
Definition: PosixSignal.cpp:82
static void trapFatal()
Definition: PosixSignal.cpp:225