26 #ifndef G4HadSignalHandler_off
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)
static void(* G4HadSignalHandler_initial)(int)
void(* sighandler_t)(int)
static G4ThreadLocal bool registered