aboutsummaryrefslogtreecommitdiff
path: root/broccoli
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-10-27 09:32:30 +0200
committerRobert Gustafsson <robg@student.chalmers.se>2017-10-27 09:32:30 +0200
commite830700c2ec3822aa863aad2f0dc057333713716 (patch)
tree1a87fbdee58c61095f6ee27656bcc931946135d7 /broccoli
parenta8ad8cbeda0e0dd5d29c5d4dc5afeaa9c4fccfdf (diff)
downloadmidbro-e830700c2ec3822aa863aad2f0dc057333713716.tar.gz
midbro-e830700c2ec3822aa863aad2f0dc057333713716.tar.bz2
Include #released values in statistics
Diffstat (limited to 'broccoli')
-rw-r--r--broccoli/src/fifoqueue.c1
1 files changed, 1 insertions, 0 deletions
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);