discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Precise interrupts in GNURADIO?


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Precise interrupts in GNURADIO?
Date: Mon, 13 Jul 2015 09:04:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 12.07.2015 06:55, Marcus Müller wrote:
> Hi Chen Chen,
> 
> After the first block's work returns WORK_DONE, the rest of the buffers
> is processed, and the flow graph is stopped.
> In principle, you can restart that flow graph, but generally, that's not
> a good idea -- stopping the flow graph usually brings blocks into a
> state where continuing to work is impossible. For example, the file sink
> closes the file.

To be precise, you shouldn't restart the same top block, but you can
create a new one. If your app needs this, you could have the top block
go out of scope once it's done it's job, then create a new one for the
next one.

M




reply via email to

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