[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;
}
- [Commit-gnuradio] [gnuradio] 06/18: runtime: use bool for system port message, (continued)
- [Commit-gnuradio] [gnuradio] 06/18: runtime: use bool for system port message, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 03/18: runtime: set_done shouldn't be set in msg handlers, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 17/18: Merge branch 'master' into next, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 05/18: runtime: whitespace, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 01/18: runtime: remove unnecessary wakeup of neighbors, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 13/18: runtime: scheduler: check changed at beginning, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 16/18: runtime: poll blocks, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 12/18: runtime: tpb, don't check msg queue, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 11/18: runtime: scheduler: no busy-waiting, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 14/18: runtime: scheduler: check for messages at start of iteration, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 09/18: blocks: don't block waiting for messages,
git <=
- [Commit-gnuradio] [gnuradio] 15/18: runtime: del left-over from blocked out, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 18/18: Merge remote-tracking branch 'bastibl/shutdown' into next, git, 2016/07/01
- [Commit-gnuradio] [gnuradio] 10/18: runtime: delete blocking wait for message, git, 2016/07/01