diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-31 18:02:10 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-31 18:02:10 +0200 |
commit | 09c96a4f4ccb077fd49139980bf6962f162c680b (patch) | |
tree | b86a9649c2247d4014d1186ca58d3fd73476d7d8 /runtime/rsconf.c | |
parent | 439a5b70f2216616e9d55072be43658d5a7fe5d7 (diff) | |
download | rsyslog-09c96a4f4ccb077fd49139980bf6962f162c680b.tar.gz rsyslog-09c96a4f4ccb077fd49139980bf6962f162c680b.tar.xz rsyslog-09c96a4f4ccb077fd49139980bf6962f162c680b.zip |
imrelp now supports non-cancel thread termination
(but now requires at least librelp 1.0.1)
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r-- | runtime/rsconf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c index 460e69d6..fca4f9b8 100644 --- a/runtime/rsconf.c +++ b/runtime/rsconf.c @@ -685,9 +685,10 @@ runInputModules(void) node = module.GetNxtCnfType(runConf, NULL, eMOD_IN); while(node != NULL) { if(node->canRun) { - DBGPRINTF("running module %s with config %p\n", node->pMod->pszName, node); bNeedsCancel = (node->pMod->isCompatibleWithFeature(sFEATURENonCancelInputTermination) == RS_RET_OK) ? 0 : 1; + DBGPRINTF("running module %s with config %p, term mode: %s\n", node->pMod->pszName, node, + bNeedsCancel ? "cancel" : "cooperative/SIGTTIN"); thrdCreate(node->pMod->mod.im.runInput, node->pMod->mod.im.afterRun, bNeedsCancel, (node->pMod->cnfName == NULL) ? node->pMod->pszName : node->pMod->cnfName); } |