summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-27 14:46:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-27 14:46:23 +0000
commit7d8b1c293746d325db7f93d343a952e382da9ddd (patch)
tree11eb0c0bceb920fc7e89ecb1fe83bd89e46b9fd2 /queue.h
parentea7fd874d7b294dacc909a0f8e9c51dcc639d879 (diff)
downloadrsyslog-7d8b1c293746d325db7f93d343a952e382da9ddd.tar.gz
rsyslog-7d8b1c293746d325db7f93d343a952e382da9ddd.tar.xz
rsyslog-7d8b1c293746d325db7f93d343a952e382da9ddd.zip
fixed a bug when shutting down DA queue
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/queue.h b/queue.h
index c9abced0..fd97596d 100644
--- a/queue.h
+++ b/queue.h
@@ -92,9 +92,9 @@ typedef struct queue_s {
pthread_cond_t notFull, notEmpty;
pthread_cond_t condDAReady;/* signalled when the DA queue is fully initialized and ready for processing */
pthread_cond_t condThrdTrm;/* signalled when threads terminate */ // TODO: no longer used?
- pthread_cond_t *condSignalOnEmpty;/* caller-provided condition to be signalled when queue is empty (DA mode!) */
- pthread_mutex_t *mutSignalOnEmpty; /* and its associated mutex */
- pthread_cond_t *condSignalOnEmpty2;/* another condition to be signalled on empty */
+ //pthread_cond_t *condSignalOnEmpty;/* caller-provided condition to be signalled when queue is empty (DA mode!) */
+ //pthread_mutex_t *mutSignalOnEmpty; /* and its associated mutex */
+ //pthread_cond_t *condSignalOnEmpty2;/* another condition to be signalled on empty */
//int bSignalOnEmpty; /* signal caller when queue is empty via xxxSignalOnEmpty cond/mut,
// 0 = do not, 1 = signal only condSignalOnEmpty, 2 = signal both condSig..*/ // TODO: no longer needed?