50 desc.
addUntracked<
bool>(
"EnableCtrlC",
true)->setComment(
51 "If 'true', you can stop a cmsRun job gracefully by sending it a '<control> c' keyboard interrupt (i.e. SIGINT).");
52 descriptions.
add(
"UnixSignalService", desc);
54 "This service sets up unix signal handlers for the unix signal SIGUSR2 and optionally SIGINT" 55 " 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)