Hi, maybe it's enough to return WORK_DONE (= -1) from work().
Best, Bastian On 04/29/2017 01:32 AM, Ghost Op wrote: > I'm working on a module in C++ and when a condition happens I want my > work function to signal to the flowgraph to stop. > > I saw some references for python to self._top_block but does anyone > have a suggestion on how to do it in C++? > > Thanks! > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio