summaryrefslogtreecommitdiffstats
path: root/plugins/omtesting/omtesting.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-11 09:53:53 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-11 09:53:53 +0000
commitc9430404dbf38d5c7fdbbb8aebc78fce38c0906c (patch)
tree5c65306b8a4ec500e7c6ec21f110274d371c98ad /plugins/omtesting/omtesting.c
parent68efb41220a834870681f293481655ed47e7b197 (diff)
downloadrsyslog-c9430404dbf38d5c7fdbbb8aebc78fce38c0906c.tar.gz
rsyslog-c9430404dbf38d5c7fdbbb8aebc78fce38c0906c.tar.xz
rsyslog-c9430404dbf38d5c7fdbbb8aebc78fce38c0906c.zip
- begun to permit queue to terminate without being drained
- fixed a starvation condition in queueWorker (pthread_yield() was needed) could not be seen with any previously released code, came up during new development
Diffstat (limited to 'plugins/omtesting/omtesting.c')
-rw-r--r--plugins/omtesting/omtesting.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omtesting/omtesting.c b/plugins/omtesting/omtesting.c
index 8fec66ac..3781eb76 100644
--- a/plugins/omtesting/omtesting.c
+++ b/plugins/omtesting/omtesting.c
@@ -97,6 +97,7 @@ CODESTARTdoAction
tvSelectTimeout.tv_sec = pData->iWaitSeconds;
tvSelectTimeout.tv_usec = pData->iWaitUSeconds; /* milli seconds */
select(0, NULL, NULL, NULL, &tvSelectTimeout);
+ //dbgprintf(":omtesting: end doAction(), iRet %d\n", iRet);
ENDdoAction