From 1679e0643d6e3fc964933b1af1745a810912d8a1 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sat, 19 Jan 2008 17:33:53 +0000 Subject: some further cleanup on the mutexes --- queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queue.h') 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 */ -- cgit