diff options
author | Thomas Habets <thomas@habets.se> | 2020-08-11 11:38:56 +0100 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2020-08-14 04:19:58 -0700 |
commit | 048e5b1ec1261422e1856f982ba97b4c371b3eb0 (patch) | |
tree | bfea76c73b96c45ffbea3f7c8831b13de5adc38b /gr-blocks/lib/message_strobe_impl.cc | |
parent | 41d6265b8b049b78757770d65cee7b7e2bbbab9f (diff) |
blocks/message_strobe: Use atomic for thread sync
Diffstat (limited to 'gr-blocks/lib/message_strobe_impl.cc')
-rw-r--r-- | gr-blocks/lib/message_strobe_impl.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gr-blocks/lib/message_strobe_impl.cc b/gr-blocks/lib/message_strobe_impl.cc index 094bb4348c..eb1f442874 100644 --- a/gr-blocks/lib/message_strobe_impl.cc +++ b/gr-blocks/lib/message_strobe_impl.cc @@ -48,8 +48,6 @@ message_strobe_impl::~message_strobe_impl() {} bool message_strobe_impl::start() { - // NOTE: d_finished should be something explicitly thread safe. But since - // nothing breaks on concurrent access, I'll just leave it as bool. d_finished = false; d_thread = gr::thread::thread(std::bind(&message_strobe_impl::run, this)); |