summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_strobe_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/message_strobe_impl.cc')
-rw-r--r--gr-blocks/lib/message_strobe_impl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-blocks/lib/message_strobe_impl.cc b/gr-blocks/lib/message_strobe_impl.cc
index ae13808674..d12e0ebd4d 100644
--- a/gr-blocks/lib/message_strobe_impl.cc
+++ b/gr-blocks/lib/message_strobe_impl.cc
@@ -67,6 +67,9 @@ namespace gr {
bool
message_strobe_impl::start()
{
+ // NOTE: d_finished should be something explicitely thread safe. But since
+ // nothing breaks on concurrent access, I'll just leave it as bool.
+ d_finished = false;
d_thread = boost::shared_ptr<gr::thread::thread>
(new gr::thread::thread(boost::bind(&message_strobe_impl::run, this)));