discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bastian Bloessl
Subject: Re: [Discuss-gnuradio] How to tell Flowgraph to Stop in Work()?
Date: Sat, 29 Apr 2017 08:56:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]