summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-19 17:33:53 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-19 17:33:53 +0000
commit1679e0643d6e3fc964933b1af1745a810912d8a1 (patch)
tree16b51cfb547565aca9bbffe0c50c9fbf053d7179 /queue.h
parentc4bc441e3c602fc184cf783ed41fe2621bdf4d38 (diff)
downloadrsyslog-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/queue.h b/queue.h
index 3b53eda3..dca80ffd 100644
--- a/queue.h
+++ b/queue.h
@@ -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 */