26 #ifndef G4HadSignalHandler_off
30 namespace G4HadSignalHandler_local
46 if (!theCache) theCache =
new std::vector<sighandler_t>;
53 theCache->push_back(aNew);
72 for(
int c=iii;
c!=-1;
c--)
79 std::cerr <<
"callback to user-defined or default signal handler"<<endl;
static G4ThreadLocal std::vector< sighandler_t > * theCache
G4HadSignalHandler(sighandler_t aNew)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static void(* G4HadSignalHandler_initial)(int)
void(* sighandler_t)(int)
static G4ThreadLocal bool registered
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData