proxygen
SignalHandler.cpp File Reference
#include <folly/experimental/symbolizer/SignalHandler.h>
#include <signal.h>
#include <sys/types.h>
#include <algorithm>
#include <atomic>
#include <cerrno>
#include <ctime>
#include <mutex>
#include <vector>
#include <glog/logging.h>
#include <folly/Conv.h>
#include <folly/ScopeGuard.h>
#include <folly/experimental/symbolizer/ElfCache.h>
#include <folly/experimental/symbolizer/Symbolizer.h>
#include <folly/portability/SysSyscall.h>
#include <folly/portability/Unistd.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::symbolizer
 

Functions

void folly::symbolizer::addFatalSignalCallback (SignalCallback cb)
 
void folly::symbolizer::installFatalSignalCallbacks ()
 
void folly::symbolizer::installFatalSignalHandler ()
 

Variable Documentation

std::vector<SignalCallback> handlers_
private

Definition at line 59 of file SignalHandler.cpp.

std::atomic<bool> installed_
private

Definition at line 57 of file SignalHandler.cpp.

std::mutex mutex_
private

Definition at line 58 of file SignalHandler.cpp.

const char* name

Definition at line 95 of file SignalHandler.cpp.

struct sigaction oldAction

Definition at line 96 of file SignalHandler.cpp.