Helper to locally ignore SIGFPE handling. More...
Public Member Functions | |
ignore () | |
Constructor deactivates any previously active SIGFPE handler. More... | |
~ignore () | |
Destructor restores the original state of SIGFPE handler. More... | |
void | restore () |
Restore the original state of SIGFPE handler. More... | |
Helper to locally ignore SIGFPE handling.
Restores the original state of the SIGFPE handler on destruction.
ignore | ( | ) |
Constructor deactivates any previously active SIGFPE handler.
Definition at line 133 of file sigFpe.C.
References sigFpe::unset().
~ignore | ( | ) |
void restore | ( | ) |
Restore the original state of SIGFPE handler.
Definition at line 160 of file sigFpe.C.
References sigFpe::set().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.