summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-26 11:44:29 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-26 11:44:29 +0200
commit71c851683b8911b2a6c37934dddff237902618bd (patch)
treed47e28f639bdd423a26d7e1a58b51e1428075e3b /runtime
parent8b50bdbee90d9bd00a78e776d5ade60d085c0823 (diff)
downloadrsyslog-71c851683b8911b2a6c37934dddff237902618bd.tar.gz
rsyslog-71c851683b8911b2a6c37934dddff237902618bd.tar.bz2
rsyslog-71c851683b8911b2a6c37934dddff237902618bd.zip
cosmetic stage work
Diffstat (limited to 'runtime')
-rw-r--r--runtime/wtp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/wtp.c b/runtime/wtp.c
index 19151e7c..1b960eb9 100644
--- a/runtime/wtp.c
+++ b/runtime/wtp.c
@@ -8,7 +8,7 @@
* (and in the web doc set on http://www.rsyslog.com/doc). Be sure to read it
* if you are getting aquainted to the object.
*
- * Copyright 2008,2009 Rainer Gerhards and Adiscon GmbH.
+ * Copyright 2008-2013 Rainer Gerhards and Adiscon GmbH.
*
* This file is part of the rsyslog runtime library.
*
@@ -91,6 +91,7 @@ BEGINobjConstruct(wtp) /* be sure to specify the object type also in END macro!
pthread_cond_init(&pThis->condThrdTrm, NULL);
pthread_attr_init(&pThis->attrThrd);
/* Set thread scheduling policy to default */
+#warning do we need this any longer? I think it was a cure for an already fixed bug..
#ifdef HAVE_PTHREAD_SETSCHEDPARAM
pthread_attr_setschedpolicy(&pThis->attrThrd, default_thr_sched_policy);
pthread_attr_setschedparam(&pThis->attrThrd, &default_sched_param);
@@ -121,7 +122,8 @@ wtpConstructFinalize(wtp_t *pThis)
ISOBJ_TYPE_assert(pThis, wtp);
- DBGPRINTF("%s: finalizing construction of worker thread pool\n", wtpGetDbgHdr(pThis));
+ DBGPRINTF("%s: finalizing construction of worker thread pool (numworkerThreads %d)\n",
+ wtpGetDbgHdr(pThis), pThis->iNumWorkerThreads);
/* alloc and construct workers - this can only be done in finalizer as we previously do
* not know the max number of workers
*/