summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime/gr_buffer.h
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2011-01-02 11:31:56 -0500
committerTom Rondeau <trondeau@vt.edu>2011-01-02 11:36:15 -0500
commitc11a431055c1e84ed16a6567cc9b2f3b821ad5e7 (patch)
tree2d844b5956cee2d279253937c0152d39029524ca /gnuradio-core/src/lib/runtime/gr_buffer.h
parent9c07c99147955574354d9d2a36c18f7aa8988130 (diff)
Buffers now hold on to all tags from both this window and the last window of items instead of just this window.
This protects against the rare times when one block is called twice before another block is, thereby pruning the tags before they can be passed downstream. The same thing will happen if a block is called 3 times in a row, which is highly unlikely.
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_buffer.h')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.h b/gnuradio-core/src/lib/runtime/gr_buffer.h
index fe0e7585dc..aa26f1e097 100644
--- a/gnuradio-core/src/lib/runtime/gr_buffer.h
+++ b/gnuradio-core/src/lib/runtime/gr_buffer.h
@@ -135,7 +135,7 @@ class gr_buffer {
uint64_t d_abs_write_offset; // num items written since the start
bool d_done;
std::deque<pmt::pmt_t> d_item_tags;
-
+ uint64_t d_last_min_items_read;
unsigned
index_add (unsigned a, unsigned b)