Hello,

I have a question regarding the usage of produce() and consume(): Is it
safe to call these functions multiple times? Or must the calls be
merged into a single one?

Documentation of consume() [1] states that “this function should be
called at the end of work() or general_work(), after all processing is
finished.” It is not clear whether multiple calls are really forbidden
(as in “must be called only once”). Documentation of produce() [2] is
even more vague.

[1] 
https://gnuradio.org/doc/doxygen/classgr_1_1block.html#a47193333ce3fe1536fb1663bf314f63d
[2] 
https://gnuradio.org/doc/doxygen/classgr_1_1block.html#aa5581727d057bdd8113f8b2a3fc5bd66

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to