![]() |
ATLAS Offline Software
|
This is the signal handler from SEAL, adapted to build in Atlas, after the drop of that project. More...
#include "CxxUtils/checker_macros.h"#include "CxxUtils/SealCommon.h"#include <signal.h>#include <sys/types.h>#include <climits>#include <atomic>Go to the source code of this file.
Classes | |
| struct | siginfo_t |
| class | Athena::Signal |
| Utilities for handling signals and fatal errors. More... | |
Namespaces | |
| namespace | Athena |
| Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc.h and will be non-nullptr in case the GaudiSvc/AthenaKernel shared libraries have been loaded. | |
Macros | |
| #define | CXXUTILS_SEAL_SIGNAL_H |
| #define | si_utime si_signo ? 0 : 0 |
| #define | si_stime si_signo ? 0 : 0 |
| #define | si_int si_signo ? 0 : 0 |
| #define | si_ptr si_signo ? (void *) 0 : (void *) 0 |
| #define | sigemptyset(x) |
| #define | sigfillset(x) |
| #define | sigaddset(x, y) |
| #define | sigdelset(x, y) |
| #define | sigismember(x, y) |
Typedefs | |
| typedef int | sigset_t |
Functions | |
| void CxxUtils_installFatalHandler | ATLAS_NOT_THREAD_SAFE () |
| Install fatal handler with default options. | |
This is the signal handler from SEAL, adapted to build in Atlas, after the drop of that project.
Search for wlav' or sss' to find changes from the SEAL version. I also dropped all ASSERT macro's in favor of assert.
Definition in file SealSignal.h.
| #define CXXUTILS_SEAL_SIGNAL_H |
Definition at line 18 of file SealSignal.h.
| #define si_int si_signo ? 0 : 0 |
Definition at line 49 of file SealSignal.h.
| #define si_ptr si_signo ? (void *) 0 : (void *) 0 |
Definition at line 50 of file SealSignal.h.
| #define si_stime si_signo ? 0 : 0 |
Definition at line 42 of file SealSignal.h.
| #define si_utime si_signo ? 0 : 0 |
Definition at line 41 of file SealSignal.h.
Definition at line 84 of file SealSignal.h.
Definition at line 85 of file SealSignal.h.
| #define sigemptyset | ( | x | ) |
Definition at line 82 of file SealSignal.h.
| #define sigfillset | ( | x | ) |
Definition at line 83 of file SealSignal.h.
Definition at line 86 of file SealSignal.h.
| typedef int sigset_t |
Definition at line 80 of file SealSignal.h.
|
inline |
Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Definition at line 28 of file CaloTowerBuilderToolBase.cxx.