Re: [Discuss-gnuradio] flowgraph with async messaging hangs on calling wait()

2013-09-12 Thread Tom Rondeau
On Wed, Sep 11, 2013 at 5:08 PM, Mark Cottrell mark.cottr...@taitradio.com wrote: Hi Tom, I spent a while playing around with this, including adding a bunch of debug output to tpb_thread_body::tpb_thread_body, and found that when a block is done, the DONE state should propagate through the

Re: [Discuss-gnuradio] flowgraph with async messaging hangs on calling wait()

2013-09-12 Thread Nowlan, Sean
List Subject: Re: [Discuss-gnuradio] flowgraph with async messaging hangs on calling wait() On Wed, Sep 11, 2013 at 5:08 PM, Mark Cottrell mark.cottr...@taitradio.com wrote: Hi Tom, I spent a while playing around with this, including adding a bunch of debug output to tpb_thread_body

Re: [Discuss-gnuradio] flowgraph with async messaging hangs on calling wait()

2013-09-11 Thread Tom Rondeau
On Thu, Aug 22, 2013 at 10:44 PM, Mark Cottrell mark.cottr...@taitradio.com wrote: Hello all, I have written a sync block that takes in samples and outputs messages (similar to tagged_stream_to_pdu), but when writing a test for the block I found that when I called top_block.run(), the test

Re: [Discuss-gnuradio] flowgraph with async messaging hangs on calling wait()

2013-09-11 Thread Mark Cottrell
Hi Tom, I spent a while playing around with this, including adding a bunch of debug output to tpb_thread_body::tpb_thread_body, and found that when a block is done, the DONE state should propagate through the flow graph as tpb_detail::notify_neighbours is called (as I'm sure you're aware). The

[Discuss-gnuradio] flowgraph with async messaging hangs on calling wait()

2013-08-22 Thread Mark Cottrell
Hello all, I have written a sync block that takes in samples and outputs messages (similar to tagged_stream_to_pdu), but when writing a test for the block I found that when I called top_block.run(), the test never finished, as it appears to be hanging on the call to top_block.wait(). The flow