diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-27 14:46:23 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-27 14:46:23 +0000 |
commit | 7d8b1c293746d325db7f93d343a952e382da9ddd (patch) | |
tree | 11eb0c0bceb920fc7e89ecb1fe83bd89e46b9fd2 /queue.h | |
parent | ea7fd874d7b294dacc909a0f8e9c51dcc639d879 (diff) | |
download | rsyslog-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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? |