summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-02-11 17:06:20 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-11 17:06:20 +0100
commit6a18d25cbec2676a7910ff038170716293abe89f (patch)
tree9cbd4da41aa140049861de32de1d48310b2edc69
parent121f5ab4ec4e766aeae5671005325a6aef4a1806 (diff)
downloadrsyslog-6a18d25cbec2676a7910ff038170716293abe89f.tar.gz
rsyslog-6a18d25cbec2676a7910ff038170716293abe89f.tar.xz
rsyslog-6a18d25cbec2676a7910ff038170716293abe89f.zip
removed no longer needed code
-rw-r--r--runtime/queue.c2
-rw-r--r--runtime/queue.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/runtime/queue.c b/runtime/queue.c
index cc7c0f54..9f63a338 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -1842,7 +1842,6 @@ qqueueStart(qqueue_t *pThis) /* this is the ConstructionFinalizer */
}
pthread_mutex_init(&pThis->mutThrdMgmt, NULL);
- pthread_cond_init (&pThis->condDAReady, NULL);
pthread_cond_init (&pThis->notFull, NULL);
pthread_cond_init (&pThis->notEmpty, NULL);
pthread_cond_init (&pThis->belowFullDlyWtrMrk, NULL);
@@ -2140,7 +2139,6 @@ CODESTARTobjDestruct(qqueue)
free(pThis->mut);
}
pthread_mutex_destroy(&pThis->mutThrdMgmt);
- pthread_cond_destroy(&pThis->condDAReady);
pthread_cond_destroy(&pThis->notFull);
pthread_cond_destroy(&pThis->notEmpty);
pthread_cond_destroy(&pThis->belowFullDlyWtrMrk);
diff --git a/runtime/queue.h b/runtime/queue.h
index 38e248cd..97057180 100644
--- a/runtime/queue.h
+++ b/runtime/queue.h
@@ -124,7 +124,6 @@ struct queue_s {
pthread_cond_t notFull, notEmpty;
pthread_cond_t belowFullDlyWtrMrk; /* below eFLOWCTL_FULL_DELAY watermark */
pthread_cond_t belowLightDlyWtrMrk; /* below eFLOWCTL_FULL_DELAY watermark */
- pthread_cond_t condDAReady;/* signalled when the DA queue is fully initialized and ready for processing */
int bThrdStateChanged; /* at least one thread state has changed if 1 */
/* end sync variables */
/* the following variables are always present, because they