ATLAS Offline Software
Loading...
Searching...
No Matches
cPtrAccessSEGVHandler.h File Reference

a C wrapper providing access to PtrAccessSEGVHandler::handle the way sigaction wants it Example: PtrAccessSEGVHandler h(p); setPtrAccessSEGVHandler(h); struct sigaction sa; sa.sa_sigaction= cPtrAccessSEGVHandler; sigaction(SIGSEGV,&sa, NULL); More...

#include "CxxUtils/checker_macros.h"
#include <signal.h>
Include dependency graph for cPtrAccessSEGVHandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void setPtrAccessSEGVHandler ATLAS_NOT_THREAD_SAFE (PtrAccessSEGVHandler *h)
void cPtrAccessSEGVHandler ATLAS_NOT_THREAD_SAFE (int signal, siginfo_t *si, void *old)

Detailed Description

a C wrapper providing access to PtrAccessSEGVHandler::handle the way sigaction wants it Example: PtrAccessSEGVHandler h(p); setPtrAccessSEGVHandler(h); struct sigaction sa; sa.sa_sigaction= cPtrAccessSEGVHandler; sigaction(SIGSEGV,&sa, NULL);

Author
Paolo Calafiura
Date
Jan 2009
Id
cPtrAccessSEGVHandler.h,v 1.1 2009-01-30 00:50:51 calaf Exp

Definition in file cPtrAccessSEGVHandler.h.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE() [1/2]

void cPtrAccessSEGVHandler ATLAS_NOT_THREAD_SAFE ( int signal,
siginfo_t * si,
void * old )

Definition at line 12 of file cPtrAccessSEGVHandler.cxx.

12 {
13 s_pHandler->handle(signal, si, old);
14}

◆ ATLAS_NOT_THREAD_SAFE() [2/2]

void setPtrAccessSEGVHandler ATLAS_NOT_THREAD_SAFE ( PtrAccessSEGVHandler * h)

Definition at line 11 of file cPtrAccessSEGVHandler.cxx.

11{ s_pHandler=h; }
Header file for AthHistogramAlgorithm.