discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Unable to stop the flow graph after calling stop(


From: Activecat
Subject: Re: [Discuss-gnuradio] Unable to stop the flow graph after calling stop()
Date: Mon, 3 Mar 2014 13:53:15 +0800

Dear Sir,
Thank you very much.

What if, we want to stop the flow graph in the constructor of a block?

In work() we can just return -1.
But in constructor, what value should be returned, also -1  ?

Regards,
Activecat


On Sun, Feb 2, 2014 at 9:05 PM, Martin Braun <address@hidden> wrote:
On 01.02.2014 13:51, Activecat wrote:
But the function stop() fails to work. The flow graph continue executing
infinitely...

Question:
How to stop the flow graph when this->d_complete == true ?

Return -1 (or WORK_DONE) in your work() function.

MB


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