aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/include/uhd/types/time_spec.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/include/uhd/types/time_spec.hpp b/host/include/uhd/types/time_spec.hpp
index 89655807e..b70616e73 100644
--- a/host/include/uhd/types/time_spec.hpp
+++ b/host/include/uhd/types/time_spec.hpp
@@ -31,6 +31,9 @@ class UHD_API time_spec_t : boost::additive<time_spec_t>,
boost::totally_ordered<time_spec_t>
{
public:
+ // A special value that signifies immediate execution
+ static constexpr double ASAP = 0.0;
+
/*!
* Create a time_spec_t from a real-valued seconds count.
* \param secs the real-valued seconds count (default = 0)