LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "art/Utilities/UnixSignalHandlers.h"
#include "canvas/Utilities/DebugMacros.h"
#include <cstddef>
#include <cstdlib>
#include <exception>
#include <iomanip>
#include <iostream>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Namespaces | |
art | |
HLT enums. | |
Macros | |
#define | MUST_BE_ZERO(fun) |
Functions | |
void | art::ep_sigusr2 (int which, siginfo_t *, void *) |
int | art::getSigNum () |
void | art::disableAllSigs (sigset_t *oldset) |
void | art::disableRTSigs () |
void | art::reenableSigs (sigset_t *oldset) |
void | art::enableSignal (sigset_t *newset, const int signum) |
void | art::disableSignal (sigset_t *newset, const int signum) |
void | art::installCustomHandler (const int signum, CFUNC func) |
void | art::installSig (const int signum, CFUNC func) |
void | art::sigInventory () |
void | art::setupSignals (bool want_sigint_enabled) |
Variables | |
std::mutex | art::usr2_lock |
std::atomic< int > | art::shutdown_flag {0} |
std::mutex | art::signum_lock |
volatile int | art::signum_value |
#define MUST_BE_ZERO | ( | fun | ) |
Definition at line 63 of file UnixSignalHandlers.cc.
Referenced by art::disableAllSigs(), art::disableRTSigs(), art::disableSignal(), art::enableSignal(), art::installSig(), art::reenableSigs(), and art::sigInventory().