From 01d71420eff77336c23ef70459d17b44810e3a99 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 6 Mar 2019 17:53:21 -0800 Subject: types: time_spec: Add ASAP value --- host/include/uhd/types/time_spec.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/include') 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, boost::totally_ordered { 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) -- cgit v1.2.3