diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2014-04-24 13:58:54 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2014-04-24 13:58:54 -0700 |
commit | 09ca0f535ee953939a8317e2f685ae282d7fa9c6 (patch) | |
tree | 85cf3536a1d3b915136c240a5cfc4eb7399e63ab /host/lib/usrp/x300/x300_impl.hpp | |
parent | 8e5fe11b6015c3456261d7b7b2ef6918fefa1ee8 (diff) | |
download | uhd-09ca0f535ee953939a8317e2f685ae282d7fa9c6.tar.gz uhd-09ca0f535ee953939a8317e2f685ae282d7fa9c6.tar.bz2 uhd-09ca0f535ee953939a8317e2f685ae282d7fa9c6.zip |
x300: Added synchronization between device claiming and checking.
- We now maintain a registry of pcie ZPU transports
- Added static mutex for claimer
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp index 4b3efc845..9645fe4af 100644 --- a/host/lib/usrp/x300/x300_impl.hpp +++ b/host/lib/usrp/x300/x300_impl.hpp @@ -152,6 +152,7 @@ public: bool recv_async_msg(uhd::async_metadata_t &, double); // used by x300_find_with_addr to find X300 devices. + static boost::mutex claimer_mutex; //All claims and checks in this process are serialized static bool is_claimed(uhd::wb_iface::sptr); enum x300_mboard_t { |