diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-19 17:33:53 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-19 17:33:53 +0000 |
commit | 1679e0643d6e3fc964933b1af1745a810912d8a1 (patch) | |
tree | 16b51cfb547565aca9bbffe0c50c9fbf053d7179 /queue.h | |
parent | c4bc441e3c602fc184cf783ed41fe2621bdf4d38 (diff) | |
download | rsyslog-1679e0643d6e3fc964933b1af1745a810912d8a1.tar.gz rsyslog-1679e0643d6e3fc964933b1af1745a810912d8a1.tar.xz rsyslog-1679e0643d6e3fc964933b1af1745a810912d8a1.zip |
some further cleanup on the mutexes
Diffstat (limited to 'queue.h')
-rw-r--r-- | queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ typedef struct queue_s { /* synchronization variables */ pthread_mutex_t mutThrdMgmt; /* mutex for the queue's thread management */ pthread_mutex_t *mut; /* mutex for enqueing and dequeueing messages */ - pthread_cond_t *notFull, *notEmpty; + pthread_cond_t notFull, notEmpty; pthread_cond_t condThrdTrm;/* signalled when threads terminate */ pthread_cond_t *condSignalOnEmpty;/* caller-provided condition to be signalled when queue is empty (DA mode!) */ pthread_mutex_t *mutSignalOnEmpty; /* and its associated mutex */ |