USRP Hardware Driver and USRP Manual  Version: 003.008.003-0-g87dfdc3c
UHD and USRP Manual
uhd::simple_claimer Class Reference

#include <uhd/utils/atomic.hpp>

Public Member Functions

 simple_claimer (void)
 
UHD_INLINE void release (void)
 
UHD_INLINE bool claim_with_wait (const double timeout)
 

Detailed Description

Claimer class to provide synchronization for multi-thread access. Claiming enables buffer classes to be used with a buffer queue.

Constructor & Destructor Documentation

◆ simple_claimer()

uhd::simple_claimer::simple_claimer ( void  )
inline

Member Function Documentation

◆ claim_with_wait()

UHD_INLINE bool uhd::simple_claimer::claim_with_wait ( const double  timeout)
inline

◆ release()

UHD_INLINE void uhd::simple_claimer::release ( void  )
inline

The documentation for this class was generated from the following file: