How can you restart a flow graph after a head block kills it?

For example, I want to do something like the following:

tb.start()
tb.wait() # head block will terminate
... do some reconfiguration ...
tb.start()

However, I get a seg fault if I ever try to call tb.start() after the head
block returns.
I take it a flow graph isn't reusable after a head block terminates?

If I remove the head block:
tb.start()
tb.stop()
tb.wait()
tb.start()

Works just fine. Could someone explain what is going on or point me to the
documentation (having a hard to finding anything useful in the
documentation).
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to