[Top][All Lists]

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

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

From: Mark Cottrell
Subject: [Discuss-gnuradio] flowgraph with async messaging hangs on calling wait()
Date: Fri, 23 Aug 2013 14:44:34 +1200

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 graph for the test is as follows:
non-repeating file source -> my block -> message_debug

is hanging the expected behaviour?  I can work around it by counting the number of items written by the file source, but it would be nice to have it terminate of its own accord.


This email, including any attachments, is only for the intended recipient. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission.
If you are not an intended recipient, you may not use, disseminate, distribute or reproduce such email, any attachments, or any part thereof. If you have received a message in error, please notify the sender immediately and erase all copies of the message and any attachments.
Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission nor can we guarantee that any email or any attachments are free from computer viruses or other conditions which may damage or interfere with recipient data, hardware or software. The recipient relies upon its own procedures and assumes all risk of use and of opening any attachments.

reply via email to

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