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.");
#define DEFINE_FWK_SERVICE_MAKER(concrete, maker)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
edm::serviceregistry::ParameterSetMaker< UnixSignalService > UnixSignalMaker
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void installCustomHandler(int signum, CFUNC func)
void setComment(std::string const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void ep_sigusr2(int, siginfo_t *, void *)
UnixSignalService(ParameterSet const &ps)