discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Stream_Selector (grextras) on Windows


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Stream_Selector (grextras) on Windows
Date: Sat, 12 Jan 2013 21:08:07 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0


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



reply via email to

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