ATLAS Offline Software
Namespaces | Typedefs | Functions
SealSignal.cxx File Reference
#include "CxxUtils/SealCommon.h"
#include "CxxUtils/SealSignal.h"
#include "CxxUtils/SealDebug.h"
#include "CxxUtils/SealSharedLib.h"
#include <cassert>
#include <cstring>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <sys/stat.h>
#include <unistd.h>

Go to the source code of this file.

Namespaces

 Athena
 Some weak symbol referencing magic...
 

Typedefs

typedef void(* Athena::DummyHandlerType) (int)
 Dummy handler type for standard signal() function. More...
 

Functions

void Signal::handleQuit Athena::ATLAS_NOT_THREAD_SAFE (QuitHook hook)
 
void Signal::handleFatal Athena::ATLAS_NOT_THREAD_SAFE (const char *applicationName, IOFD fd, FatalHook hook, FatalReturn mainreturn, unsigned options)
 Install default handler for fatal signals. More...
 
void Signal::quit Athena::ATLAS_NOT_THREAD_SAFE (int sig, siginfo_t *info, void *x)
 The quit signal handler. More...
 
bool Signal::fatalDump Athena::ATLAS_NOT_THREAD_SAFE (int sig, siginfo_t *info, void *extra, IOFD fd, unsigned options)
 
IOFD Signal::handleFatalFd Athena::ATLAS_NOT_THREAD_SAFE (void)
 Return the file descriptor #fataldump() uses for output. More...
 
void CxxUtils_installFatalHandler ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

void CxxUtils_installFatalHandler ATLAS_NOT_THREAD_SAFE ( )

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Definition at line 1639 of file SealSignal.cxx.

1640  {
1641  Athena::Signal::handleFatal(nullptr, 1);
1642  }