Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HadSignalHandler_local Namespace Reference

Functions

void HandleIt (int i)
 

Variables

static void(* G4HadSignalHandler_initial )(int)
 

Function Documentation

void G4HadSignalHandler_local::HandleIt ( int  i)

Definition at line 63 of file G4HadSignalHandler.cc.

64 {
65  static G4ThreadLocal int *iii_p = 0 ;
66  if (!iii_p)
67  {
68  iii_p = new int ;
69  *iii_p = G4HadSignalHandler::theCache->size()-1 ;
70  }
71  int &iii = *iii_p;
72  for(int c=iii; c!=-1; c--)
73  {
74  iii--;
75  //Andrea Dotti (13Jan2013): change for G4MT
76  (G4HadSignalHandler::theCache->operator[](c))(i);
77  //G4HadSignalHandler::theCache[c](i);
78  }
79  std::cerr << "callback to user-defined or default signal handler"<<endl;
81  raise(i);
82 }
static G4ThreadLocal std::vector< sighandler_t > * theCache
#define G4ThreadLocal
Definition: tls.hh:89
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static void(* G4HadSignalHandler_initial)(int)
tuple c
Definition: test.py:13

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

void(* G4HadSignalHandler_local::G4HadSignalHandler_initial)(int)
static

Definition at line 35 of file G4HadSignalHandler.cc.