PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
Installs a signal handler on construction; deinstalls on destruction. More...
#include <pism_python.hh>
Public Member Functions | |
SigInstaller (int sig, void(*new_handler)(int)) | |
Installs handle new_handler for signal sig. More... | |
void | release () |
Restores the signal handler to its previous value. More... | |
~SigInstaller () | |
Private Attributes | |
void(* | m_old_handler )(int) |
int | m_sig |
Installs a signal handler on construction; deinstalls on destruction.
Definition at line 36 of file pism_python.hh.