discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Calling produce()/consume() multiple times


From: rear1019
Subject: Re: [Discuss-gnuradio] Calling produce()/consume() multiple times
Date: Sun, 19 Nov 2017 20:49:34 +0100

On Sun, 19 Nov 2017 at 13:16:14 -0500, Michael Dickens wrote:
> You can safely call produce() and consume() multiple times in the same
> work() call: yes!

I assume this also applies to general_work()?

> Note that by doing so, if you're using the nitems_written() or
> nitems_read() [e.g., for finding or writing tags], then those values
> will be updated when you call produce() and consume()

This is an important information missing in the documentation. I will
make a pull request to fix this.

> Hope this helps! - MLD

Thank you very much for the fast and detailed answer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]