diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2014-08-13 10:40:39 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2014-08-13 10:40:39 -0700 |
commit | 09898c18f46ab37a1ee716b0bfee8a88099552ba (patch) | |
tree | b060a0670ef7cbbd416bf2b891b76514ecfc552d /host/lib/usrp/common/ad9361_driver/ad9361_device.h | |
parent | 41657ecc535386e39c4ff78cd84c8533b7599741 (diff) | |
download | uhd-09898c18f46ab37a1ee716b0bfee8a88099552ba.tar.gz uhd-09898c18f46ab37a1ee716b0bfee8a88099552ba.tar.bz2 uhd-09898c18f46ab37a1ee716b0bfee8a88099552ba.zip |
ad9361: Added synchronization to IO and device classes
Diffstat (limited to 'host/lib/usrp/common/ad9361_driver/ad9361_device.h')
-rw-r--r-- | host/lib/usrp/common/ad9361_driver/ad9361_device.h | 3 |
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 |