diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-01 13:18:43 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-01 13:18:43 +0000 |
commit | 5eadc4163df392091884d088593dbf4e95e1aec9 (patch) | |
tree | 6196acafc33207e612511414e45c7f515c6d155a /wtp.c | |
parent | afb38c009a95a4cff413569f1e36d8120c972b4d (diff) | |
download | rsyslog-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |