|
Electroneum
|
Defines a signal handler for win32 and *nix. More...
#include <util.h>
Static Public Member Functions | |
| template<typename T > | |
| static bool | install (T t) |
| installs a signal handler More... | |
Static Private Member Functions | |
| static void | posix_handler (int type) |
| handler for NIX More... | |
| static void | handle_signal (int type) |
| calles m_handler More... | |
Static Private Attributes | |
| static std::function< void(int)> | m_handler |
| where the installed handler is stored More... | |
Defines a signal handler for win32 and *nix.
|
inlinestaticprivate |
calles m_handler
installs a signal handler
|
inlinestaticprivate |
handler for NIX
|
staticprivate |
where the installed handler is stored