aboutsummaryrefslogtreecommitdiffstats
path: root/src/TII.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 09:25:22 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 09:25:22 +0100
commit37b4c4591d6835c4b88ded16286d6f4145aea367 (patch)
treec3ef0c2bb6f1d4807fe20b1de033a518a9007f3c /src/TII.h
parent23b369e1145c5652778345827b7df9c33e09d0e8 (diff)
downloaddabmod-37b4c4591d6835c4b88ded16286d6f4145aea367.tar.gz
dabmod-37b4c4591d6835c4b88ded16286d6f4145aea367.tar.bz2
dabmod-37b4c4591d6835c4b88ded16286d6f4145aea367.zip
Replace boost lock by std lock in TII
Diffstat (limited to 'src/TII.h')
-rw-r--r--src/TII.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/TII.h b/src/TII.h
index b0ffdb3..b86dbbf 100644
--- a/src/TII.h
+++ b/src/TII.h
@@ -2,7 +2,7 @@
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty
the Queen in Right of Canada (Communications Research Center Canada)
- Copyright (C) 2017
+ Copyright (C) 2018
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -35,8 +35,8 @@
#include "ModPlugin.h"
#include "RemoteControl.h"
-#include <boost/thread.hpp>
-#include <sys/types.h>
+#include <cstddef>
+#include <thread>
#include <complex>
#include <vector>
#include <string>
@@ -118,7 +118,7 @@ class TII : public ModCodec, public RemoteControllable
// m_enabled_carriers is read by modulator thread, and written
// to by RC thread.
- mutable boost::mutex m_enabled_carriers_mutex;
+ mutable std::mutex m_enabled_carriers_mutex;
// m_enabled_carriers is true only for the first carrier in the
// active pair