1#ifndef UTOPIA_CORE_SIGNAL_HH
2#define UTOPIA_CORE_SIGNAL_HH
34template<
typename Handler>
Container select_entities(const Manager &mngr, const DataIO::Config &sel_cfg)
Select entities according to parameters specified in a configuration.
Definition select.hh:213
std::atomic< bool > stop_now
The flag indicating whether to stop whatever is being done right now.
Definition signal.hh:15
void default_signal_handler(int signum)
Default signal handler function, only setting the stop_now global flag.
Definition signal.hh:21
std::atomic< int > received_signum
The received signal value.
Definition signal.hh:18
void attach_signal_handler(int signum, Handler &&handler)
Attaches a signal handler for the given signal via sigaction.
Definition signal.hh:35