USRP Hardware Driver and Device Manual  Version: 4.11.0.0-0-g0d7ed3b1
UHD and USRP Manual
thread.hpp File Reference
#include <uhd/config.hpp>
#include <cstdint>
#include <string>
#include <thread>
#include <vector>

Go to the source code of this file.

Namespaces

 boost
 
 uhd
 

Functions

UHD_API void uhd::set_thread_priority (float priority=DEFAULT_THREAD_PRIORITY, bool realtime=true)
 
UHD_API bool uhd::set_thread_priority_safe (float priority=DEFAULT_THREAD_PRIORITY, bool realtime=true)
 
UHD_API_HEADER void uhd::set_thread_name (boost::thread *, const std::string &)
 
UHD_API void uhd::set_thread_name (std::thread *thread, const std::string &name)
 
UHD_API void uhd::set_thread_affinity (const std::vector< size_t > &cpu_affinity_list)
 

Variables

constexpr float uhd::DEFAULT_THREAD_PRIORITY = float(0.5)