signal_handling.hpp File Reference GAMBIT signal handling functions. More... #include <signal.h> #include <chrono> #include <setjmp.h> #include "yaml-cpp/yaml.h" #include "exceptions.hpp" #include "local_info.hpp" #include "gambit/Utils/mpiwrapper.hpp"
Include dependency graph for signal_handling.hpp:
![]()
This graph shows which files directly or indirectly include this file:
![]() Go to the source code of this file.
Detailed DescriptionGAMBIT signal handling functions. I have tried to make these standards conformant, however I suspect that they are not, and the emergency signal handlers definitely are not. Nevertheless, they seem to work well, and the emergency shutdown handlers are intended for emergencies only (when a clean shutdown is not possible), so non-conformance is the least of our problems in that situation. The "soft" shutdown handler should be at least very close to conformant I think, though there are some more steps that could be taken to improve this if it turns out to be an issue. Authors (add name and date if you modify):
Definition in file signal_handling.hpp. |