summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/runtime/qa_set_msg_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/runtime/qa_set_msg_handler.cc b/gnuradio-core/src/lib/runtime/qa_set_msg_handler.cc
index d52ca78b9..35ef5527e 100644
--- a/gnuradio-core/src/lib/runtime/qa_set_msg_handler.cc
+++ b/gnuradio-core/src/lib/runtime/qa_set_msg_handler.cc
@@ -74,8 +74,8 @@ void qa_set_msg_handler::t0()
// core.
send(src, mp(mp("example-msg"), mp(0)));
- // Surrender our CPU for a bit
- boost::this_thread::yield();
+ // Give the messages a chance to be processed
+ boost::this_thread::sleep(boost::posix_time::milliseconds(100));
tb->stop();
tb->wait();