aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/ad9361_driver/ad9361_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r--host/lib/usrp/common/ad9361_driver/ad9361_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/common/ad9361_driver/ad9361_device.h b/host/lib/usrp/common/ad9361_driver/ad9361_device.h
index 079f5dc1d..2d067fa7d 100644
--- a/host/lib/usrp/common/ad9361_driver/ad9361_device.h
+++ b/host/lib/usrp/common/ad9361_driver/ad9361_device.h
@@ -7,6 +7,7 @@
#include <ad9361_client.h>
#include <boost/noncopyable.hpp>
+#include <boost/thread/recursive_mutex.hpp>
namespace uhd { namespace usrp {
@@ -115,6 +116,8 @@ private: //Members
boost::int32_t _tfir_factor;
//Register soft-copies
chip_regs_t _regs;
+ //Synchronization
+ boost::recursive_mutex _mutex;
};
}} //namespace