Re: [Discuss-gnuradio] How to tell Flowgraph to Stop in Work()?

2017-04-28 Thread Bastian Bloessl
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


[Discuss-gnuradio] How to tell Flowgraph to Stop in Work()?

2017-04-28 Thread Ghost Op
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