summaryrefslogtreecommitdiffstats
path: root/wtp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-28 10:48:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-28 10:48:51 +0000
commit59b67824d6ada9e224beef8ec9a6e6e566e1fcf8 (patch)
treeb9dac56dd55c1c5593dab1fa3017fd24bf0a8d32 /wtp.c
parent082737dec693fbb531ca9dad3ab9b638baaa3327 (diff)
downloadrsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.gz
rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.xz
rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.zip
some more testing and cleanup with the queue class (pretty stable now)
Diffstat (limited to 'wtp.c')
-rw-r--r--wtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wtp.c b/wtp.c
index 817204d8..a71301a5 100644
--- a/wtp.c
+++ b/wtp.c
@@ -393,13 +393,14 @@ wtpWrkrExecCancelCleanup(void *arg)
{
wtp_t *pThis = (wtp_t*) arg;
+ BEGINfunc
ISOBJ_TYPE_assert(pThis, wtp);
pThis->iCurNumWrkThrd--;
RUNLOG_VAR("%d", pThis->iCurNumWrkThrd);
wtpSignalWrkrTermination(pThis);
dbgprintf("%s: thread CANCELED with %d workers running.\n", wtpGetDbgHdr(pThis), pThis->iCurNumWrkThrd);
-
+ ENDfunc
}