8 #ifndef INCLUDED_UHD_UTILS_THREAD_HPP 9 #define INCLUDED_UHD_UTILS_THREAD_HPP 12 #include <boost/thread/thread.hpp> 17 static const float default_thread_priority = float(0.5);
34 float priority = default_thread_priority,
44 float priority = default_thread_priority,
54 boost::thread *thread,
55 const std::string &name
UHD_API bool set_thread_priority_safe(float priority=default_thread_priority, bool realtime=true)
Definition: build_info.hpp:14
UHD_API void set_thread_name(boost::thread *thread, const std::string &name)
#define UHD_API
Definition: config.h:63
UHD_API void set_thread_priority(float priority=default_thread_priority, bool realtime=true)