commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 13/18: runtime: scheduler: check changed at


From: git
Subject: [Commit-gnuradio] [gnuradio] 13/18: runtime: scheduler: check changed at beginning
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 32b59a75f81f1949f793eb99e65c0ef0217cda64
Author: Bastian Bloessl <address@hidden>
Date:   Wed Jun 29 09:08:08 2016 +0200

    runtime: scheduler: check changed at beginning
---
 gnuradio-runtime/lib/tpb_thread_body.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnuradio-runtime/lib/tpb_thread_body.cc 
b/gnuradio-runtime/lib/tpb_thread_body.cc
index 610a13c..bba213f 100644
--- a/gnuradio-runtime/lib/tpb_thread_body.cc
+++ b/gnuradio-runtime/lib/tpb_thread_body.cc
@@ -95,6 +95,8 @@ namespace gr {
     while(1) {
       boost::this_thread::interruption_point();
 
+      d->d_tpb.clear_changed();
+
       // handle any queued up messages
       BOOST_FOREACH(basic_block::msg_queue_map_t::value_type &i, 
block->msg_queue) {
         // Check if we have a message handler attached before getting
@@ -115,7 +117,6 @@ namespace gr {
         }
       }
 
-      d->d_tpb.clear_changed();
       // run one iteration if we are a connected stream block
       if(d->noutputs() >0 || d->ninputs()>0){
         s = d_exec.run_one_iteration();



reply via email to

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