discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Changing Flowgraph at runtime


From: Sylvain Munaut
Subject: Re: [Discuss-gnuradio] Changing Flowgraph at runtime
Date: Wed, 6 Aug 2014 15:02:26 +0200

> The creation and destruction of blocks at runtime must be made between
> lock() and unlock(). Is it right?
> How can I destroy a block at runtime? block->stop()?
> Do I also need a reset() in sptr [block.reset()]?


Well, you never really destroy blocks yourself since all you get is sptr.

So once it's disconnected and you "loose" the last sptr you have to
it, then it should get deleted.

Cheers,

   Sylvain



reply via email to

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