aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-09-01 14:55:24 -0700
committerMartin Braun <martin.braun@ettus.com>2017-09-01 14:56:17 -0700
commit1cd96ddefe415dd0184edb61f5a9f425d0b42cbf (patch)
tree020398a51bca2c69ddb6751b04dfbd4f3e993c5c
parent1074a68dd7a0fa6d5ca23449446b90302ca755c9 (diff)
downloaduhd-master.tar.gz
uhd-master.tar.bz2
uhd-master.zip
uhd: Deprecating atomic.hpp and time_spec_t::get_system_time()HEADmaster
These APIs will be moved to a non-public API in the future and should no longer be used in user applications.
-rw-r--r--host/include/uhd/types/time_spec.hpp3
-rw-r--r--host/include/uhd/utils/atomic.hpp6
2 files changed, 6 insertions, 3 deletions
diff --git a/host/include/uhd/types/time_spec.hpp b/host/include/uhd/types/time_spec.hpp
index e7d7d5ab4..bc8924436 100644
--- a/host/include/uhd/types/time_spec.hpp
+++ b/host/include/uhd/types/time_spec.hpp
@@ -39,7 +39,8 @@ namespace uhd{
class UHD_API time_spec_t : boost::additive<time_spec_t>, boost::totally_ordered<time_spec_t>{
public:
- /*!
+ /*! DEPRECATED -- Will get removed from UHD in future versions.
+ *
* Get the system time in time_spec_t format.
* Uses the highest precision clock available.
* \return the system time as a time_spec_t
diff --git a/host/include/uhd/utils/atomic.hpp b/host/include/uhd/utils/atomic.hpp
index d75a60c3b..3e2a705ad 100644
--- a/host/include/uhd/utils/atomic.hpp
+++ b/host/include/uhd/utils/atomic.hpp
@@ -25,7 +25,8 @@
namespace uhd{
- /*!
+ /*! DEPRECATED -- Will be removed in coming versions of UHD.
+ *
* Spin-wait on a condition with a timeout.
* \param cond an atomic variable to compare
* \param value compare to atomic for true/false
@@ -50,7 +51,8 @@ namespace uhd{
return true;
}
- /*!
+ /*! DEPRECATED -- Will be removed in coming versions of UHD.
+ *
* Claimer class to provide synchronization for multi-thread access.
* Claiming enables buffer classes to be used with a buffer queue.
*/