std::set_terminate (3) Linux Manual Page
std::set_terminate – std::set_terminate Synopsis Defined in header <exception> std::terminate_handler set_terminate( std::terminate_handler f ) throw(); (until C++11) std::terminate_handler set_terminate( std::terminate_handler f ) noexcept; (since C++11) Makes f the new global terminate handler function and returns the previously installed std::terminate_handler. This function is thread-safe. Every call to std::set_terminate synchronizes-with (see std::memory_order) the subsequent std::set_terminate and std::get_terminate (since…
