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
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
terminate of its own accord.
This email, including any attachments, is only for the intended
It is subject to copyright, is confidential and may be the subject of
or other privilege, none of which is waived or lost by reason of this
If you are not an intended recipient, you may not use, disseminate,
distribute or reproduce such email, any attachments, or any part
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
opening any attachments.