On 01/09/2013 06:39 PM, Luong Tan Phong wrote: > My receiver object inherit from gr_hier_block2, and the sourcecode: > > connect(self(), 0, iq_resamp, 0); > connect(iq_resamp, 0, nb, 0); > connect(nb, 0, filter, 0); > connect(filter, 0, sql, 0); > connect(sql, 0, agc, 0); > connect(agc, 0, demod_am, 0); > connect(agc, 0, demod_ssb, 0); > connect(demod_ssb, 0, selector, 0); > connect(demod_am, 0, selector, 1); > connect(selector, 0, self(), 0); > > If I remove the selector object and connect demod_ssb/demod_am to self(), > it OK. >
I'm not sure. All of the blocking calls in this block should be interruptible by boost thread interrupt (when stop is called). Are you able to rebuild or debug this? I suspect that one of the work calls is blocking and not interrupting... https://github.com/guruofquality/grextras/blob/master/lib/stream_selector.cc Can I ask what version of boost. To make sure this isnt the issue: http://gnuradio.org/redmine/issues/477 -josh _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
