commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 09/18: blocks: don't block waiting for mess


From: git
Subject: [Commit-gnuradio] [gnuradio] 09/18: blocks: don't block waiting for messages
Date: Fri, 1 Jul 2016 16:25:45 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch next
in repository gnuradio.

commit c7c6820cb823042accab0dddf031c55acb108d62
Author: Bastian Bloessl <address@hidden>
Date:   Thu Apr 28 15:33:59 2016 +0200

    blocks: don't block waiting for messages
---
 gr-blocks/lib/pdu_to_tagged_stream_impl.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gr-blocks/lib/pdu_to_tagged_stream_impl.cc 
b/gr-blocks/lib/pdu_to_tagged_stream_impl.cc
index aec5d33..0c48442 100644
--- a/gr-blocks/lib/pdu_to_tagged_stream_impl.cc
+++ b/gr-blocks/lib/pdu_to_tagged_stream_impl.cc
@@ -52,10 +52,7 @@ namespace gr {
     int pdu_to_tagged_stream_impl::calculate_output_stream_length(const 
gr_vector_int &)
     {
       if (d_curr_len == 0) {
-          /* FIXME: This blocking call is far from ideal but is the best we
-          *        can do at the moment
-          */
-        pmt::pmt_t msg(delete_head_blocking(PDU_PORT_ID, 100));
+        pmt::pmt_t msg(delete_head_nowait(PDU_PORT_ID));
         if (msg.get() == NULL) {
           return 0;
         }



reply via email to

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