From e830700c2ec3822aa863aad2f0dc057333713716 Mon Sep 17 00:00:00 2001 From: Robert Gustafsson Date: Fri, 27 Oct 2017 09:32:30 +0200 Subject: Include #released values in statistics --- broccoli/src/fifoqueue.c | 1 + 1 file changed, 1 insertion(+) (limited to 'broccoli') diff --git a/broccoli/src/fifoqueue.c b/broccoli/src/fifoqueue.c index a02f55c..e7ed8f6 100644 --- a/broccoli/src/fifoqueue.c +++ b/broccoli/src/fifoqueue.c @@ -96,6 +96,7 @@ pop_from_queue(Fifo_q * q) } free(head); q->currentSize--; + q->valuesReleased++; sem_post(&q->lock); #ifndef DLR sem_post(&q->bufferFullBlock); -- cgit v1.2.3