diff options
-rw-r--r-- | thread.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -34,7 +34,6 @@ struct conn_queue { CQ_ITEM *head; CQ_ITEM *tail; pthread_mutex_t lock; - pthread_cond_t cond; }; /* Lock for cache operations (item_*, assoc_*) */ @@ -205,7 +204,6 @@ void switch_item_lock_type(enum item_lock_types type) { */ static void cq_init(CQ *cq) { pthread_mutex_init(&cq->lock, NULL); - pthread_cond_init(&cq->cond, NULL); cq->head = NULL; cq->tail = NULL; } @@ -242,7 +240,6 @@ static void cq_push(CQ *cq, CQ_ITEM *item) { else cq->tail->next = item; cq->tail = item; - pthread_cond_signal(&cq->cond); pthread_mutex_unlock(&cq->lock); } |