summaryrefslogtreecommitdiffstats
path: root/wtp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-01 13:18:43 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-01 13:18:43 +0000
commit5eadc4163df392091884d088593dbf4e95e1aec9 (patch)
tree6196acafc33207e612511414e45c7f515c6d155a /wtp.c
parentafb38c009a95a4cff413569f1e36d8120c972b4d (diff)
downloadrsyslog-5eadc4163df392091884d088593dbf4e95e1aec9.tar.gz
rsyslog-5eadc4163df392091884d088593dbf4e95e1aec9.tar.xz
rsyslog-5eadc4163df392091884d088593dbf4e95e1aec9.zip
added input-plugin interface specification in form of a (copy) template
input module
Diffstat (limited to 'wtp.c')
-rw-r--r--wtp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wtp.c b/wtp.c
index 7b34076a..65d2ce71 100644
--- a/wtp.c
+++ b/wtp.c
@@ -263,7 +263,6 @@ wtpShutdownAll(wtp_t *pThis, wtpState_t tShutdownCmd, struct timespec *ptTimeout
*/
wtpProcessThrdChanges(pThis);
-RUNLOG_VAR("%d", pThis->iCurNumWrkThrd);
/* and wait for their termination */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &iCancelStateSave);
d_pthread_mutex_lock(&pThis->mut);
@@ -271,7 +270,6 @@ RUNLOG_VAR("%d", pThis->iCurNumWrkThrd);
pthread_setcancelstate(iCancelStateSave, NULL);
bTimedOut = 0;
while(pThis->iCurNumWrkThrd > 0 && !bTimedOut) {
-RUNLOG_VAR("%d", pThis->iCurNumWrkThrd);
dbgprintf("%s: waiting %ldms on worker thread termination, %d still running\n",
wtpGetDbgHdr(pThis), timeoutVal(ptTimeout), pThis->iCurNumWrkThrd);