diff options
author | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-27 09:32:30 +0200 |
---|---|---|
committer | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-27 09:32:30 +0200 |
commit | e830700c2ec3822aa863aad2f0dc057333713716 (patch) | |
tree | 1a87fbdee58c61095f6ee27656bcc931946135d7 | |
parent | a8ad8cbeda0e0dd5d29c5d4dc5afeaa9c4fccfdf (diff) | |
download | midbro-e830700c2ec3822aa863aad2f0dc057333713716.tar.gz midbro-e830700c2ec3822aa863aad2f0dc057333713716.tar.bz2 |
Include #released values in statistics
-rw-r--r-- | broccoli/src/fifoqueue.c | 1 |
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); |