8 #ifndef INCLUDED_UHD_UTILS_ATOMIC_HPP     9 #define INCLUDED_UHD_UTILS_ATOMIC_HPP    13 #include <boost/thread/thread.hpp>    32         if (cond == value) 
return true;
    34         while (cond != value) {
    38             boost::this_thread::interruption_point();
    39             boost::this_thread::yield();
    68         std::atomic<bool> _locked;
 UHD_INLINE void release(void)
Definition: atomic.hpp:55
 
Definition: time_spec.hpp:29
 
static time_spec_t get_system_time(void)
 
Definition: build_info.hpp:14
 
UHD_INLINE bool claim_with_wait(const double timeout)
Definition: atomic.hpp:59
 
simple_claimer(void)
Definition: atomic.hpp:51
 
#define UHD_INLINE
Definition: config.h:53
 
Definition: atomic.hpp:49
 
UHD_INLINE bool spin_wait_with_timeout(std::atomic< T > &cond, const T value, const double timeout)
Definition: atomic.hpp:27