#include "BLSignal.hh"
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
Functions | |
void | g4bl_exit (int value) |
void g4bl_exit | ( | int | value | ) |
Referenced by BLCMDprobefield::callback(), BLCMDprintfield::callback(), BLCMDfieldntuple::callback(), BLCMDfieldlines::callback(), BLCMDrfdevice::command(), BLCMDpillbox::command(), BLCMDlist::command(), BLCMDhelp::command(), BLCMDprintfield::do_points(), SetDecayInstance::fatalError(), BLManager::handleCallbacks(), main(), BLManager::Notify(), and BLSignal::sighandler().
00058 { 00059 // Instead of deleting things, just open the geometry to avoid 00060 // warnings when exit() is called. 00061 G4GeometryManager::GetInstance()->OpenGeometry(); 00062 00063 fflush(stdout); 00064 exit(value); 00065 }