2019-01-20 15:35:09 +03:00
|
|
|
#ifndef MYSIGNALS_H
|
|
|
|
#define MYSIGNALS_H
|
|
|
|
|
|
|
|
#include <exception>
|
|
|
|
|
|
|
|
void setup_signal_handlers();
|
|
|
|
|
2022-01-18 01:13:03 +03:00
|
|
|
class AbortException : public std::exception
|
|
|
|
{
|
|
|
|
};
|
2019-01-20 15:35:09 +03:00
|
|
|
|
|
|
|
void abort_if_signalled();
|
|
|
|
#endif
|