USRP Hardware Driver and USRP Manual: thread.hpp File Reference

| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 UHD and USRP Manual |

Loading...
Searching...
No Matches
thread.hpp File Reference
`#include <uhd/config.hpp>`
`#include <boost/thread/thread.hpp>`
`#include <string>`
`#include <thread>`

Go to the source code of this file.

## Namespaces
namespace | 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 void | uhd::set_thread_name (boost::thread *thread, const std::string &name)
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)