[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Calling produce()/consume() multiple times
From: |
rear1019 |
Subject: |
[Discuss-gnuradio] Calling produce()/consume() multiple times |
Date: |
Sun, 19 Nov 2017 17:22:59 +0100 |
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] Calling produce()/consume() multiple times,
rear1019 <=