diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-11 09:53:53 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-11 09:53:53 +0000 |
commit | c9430404dbf38d5c7fdbbb8aebc78fce38c0906c (patch) | |
tree | 5c65306b8a4ec500e7c6ec21f110274d371c98ad /plugins/omtesting/omtesting.c | |
parent | 68efb41220a834870681f293481655ed47e7b197 (diff) | |
download | rsyslog-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.c | 1 |
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 |