Add signal handlers.

This commit is contained in:
XMRig 2017-06-13 13:20:15 +03:00
parent 2d08f59184
commit 8c2951db2d
6 changed files with 114 additions and 8 deletions

View file

@ -51,6 +51,7 @@ public:
static inline Options* i() { return m_self; }
static Options *parse(int argc, char **argv);
inline bool background() const { return m_background; }
inline bool colors() const { return m_colors; }
inline bool doubleHash() const { return m_doubleHash; }
inline bool isReady() const { return m_ready; }