Re: [Discuss-gnuradio] topblock.wait() never returns even after i stop() it.

2016-03-31 Thread Sylvain Munaut
Hi, > I had a lock(), unlock() pair around the stop - which might have been > causing the problem. i.e. > > topblock.lock() > ... > > topblock.stop() > topblock.unlock() > > Now the wait() returns in the loop that was waiting. > > It now works for USRP but I'd like to know why this bothered the

Re: [Discuss-gnuradio] topblock.wait() never returns even after i stop() it.

2016-03-30 Thread M. Ranganathan
More information: I had a lock(), unlock() pair around the stop - which might have been causing the problem. i.e. topblock.lock() ... topblock.stop() topblock.unlock() Now the wait() returns in the loop that was waiting. It now works for USRP but I'd like to know why this bothered the USRP in

[Discuss-gnuradio] topblock.wait() never returns even after i stop() it.

2016-03-30 Thread M. Ranganathan
Hello, I am trying to reconfigure a flow graph based on a signal. The signal handler does a stop on a flow graph but the routine that is running the flow graph and waiting on the top block, never returns from the wait on the top block of the flow graph. I am using osmosdr + gnuradio even though