Go to the documentation of this file.
40 : enableSigInt_(
pset.getUntrackedParameter<
bool>(
"EnableCtrlC")) {
52 "If 'true', you can stop a cmsRun job gracefully by sending it a '<control> c' keyboard interrupt (i.e. "
54 descriptions.
add(
"UnixSignalService", desc);
56 "This service sets up unix signal handlers for the unix signal SIGUSR2 and optionally SIGINT"
57 " so that when cmsRun is sent a signal the application will stop processing and shut down gracefully.");
UnixSignalService(ParameterSet const &ps)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void ep_sigusr2(int, siginfo_t *, void *)
#define DEFINE_FWK_SERVICE_MAKER(concrete, maker)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setComment(std::string const &value)
edm::serviceregistry::ParameterSetMaker< UnixSignalService > UnixSignalMaker
void installCustomHandler(int signum, CFUNC func)