How to stop a flowgraph


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

On 09/03/2014 07:15 PM, Mostafa A. wrote:

In the other words, I want to stop top block but I don’t know how? If I
have one source and one sink, I could stop the top block by returning -1
from the source, but I don’t know what is the solution here when I have
multiple sources.

That’s fine, your fg will eventually shut down. You can also call stop()
on your top_block.

M