discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Terminating flowgraph inside


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Terminating flowgraph inside
Date: Mon, 04 May 2015 08:56:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hi Nemanja,
What happens when arbitrary block in the middle of the flowgraph returns -1?
That block is set to the DONE state. After that, all output that still can be processed is processed, successively setting the downstream blocks to an "don't call me, there can be no input" state.
After that, the top_block.wait() call returns.

You probably want to have a look at Tom's presentation linked in[1].

is there any way that block inside a flowgraph terminate that flowgraph should stop.
Well, returning WORK_DONE==-1, but you've already figured that out, so my guess is you want something else; would you mind elaborating on your problem?

Best regards,
Marcus

[1] http://www.trondeau.com/blog/2013/9/15/explaining-the-gnu-radio-scheduler.html



On 05/03/2015 04:11 PM, Nemanja Savic wrote:
Hello again,

is there any way that block inside a flowgraph terminate that flowgraph should stop. Something like when source block returns -1 from work function.
What happens when arbitrary block in the middle of the flowgraph returns -1?

--
Nemanja Savić


_______________________________________________
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]