MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / CrashHandler

Class CrashHandler

include/thundersvm/util/log.h:3641–3653  ·  view source on GitHub ↗

@brief Handles unexpected crashes

Source from the content-addressed store, hash-verified

3639};
3640/// @brief Handles unexpected crashes
3641class CrashHandler : base::NoCopy {
3642 public:
3643 typedef void (*Handler)(int);
3644
3645 explicit CrashHandler(bool useDefault);
3646 explicit CrashHandler(const Handler& cHandler) {
3647 setHandler(cHandler);
3648 }
3649 void setHandler(const Handler& cHandler);
3650
3651 private:
3652 Handler m_handler;
3653};
3654#else
3655 class CrashHandler {
3656 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected