-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Destruction of course should only take place when a block is not connected, and connection can only take place between lock() and unlock(). Other than that, I'm not aware of any restrictions.
On 06.08.2014 14:42, Douglas Amorim Ferreira wrote: > Ok, > > 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()]? > > Thanks again! > > > 2014-08-06 9:09 GMT-03:00 Marcus Müller > <[email protected]>: > >> You can :) >> >> >> On 06.08.2014 13:37, Douglas Amorim Ferreira wrote: >> >> Hello everyone, >> >> Does anyone know if it's possible create and destroy blocks at >> runtime? >> >> I know we can reconnect the blocks at runtime [lock(), >> reconnect, unlock()], but I don't know if you can create or >> destroy... >> >> Thanks. >> >> >> >> >> _______________________________________________ Discuss-gnuradio >> mailing >> [email protected]https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list [email protected] >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> > > > > > _______________________________________________ Discuss-gnuradio > mailing list [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT4iSFAAoJEAFxB7BbsDrLngYH/1V2h/mSJZYD9YAa6HlOI1IL dkl1jQ4v0IyztZGi4N0D7GmS0sUQu1+2NMkJt18ClOVUyMHB8uQmS6PGtycxyxkw b4OZG5oqkP96ThfwHQEbatwL8EP+igMQ+wEHvxG6kFzW6kkJcqYPqOsj+hbDrOOG L1RrFks3S4Mo2E6luUil2LL7ttkSpbc4MrlFYhwNgJ9mnD57ycyS1wkmIhEpmImV 7qgts2kqtQdhIGDyb1vZIdTjawXPZ465GmsCkJ/udkyzbeq+wVWBPnwLZRh/3YYR M+i2s1HT0eaBFNYfvptl0lGzpANwqUirzMGVItwBXaG2S8s9VNWLAvzKADN0RKE= =u37z -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
