USRP Hardware Driver and USRP Manual: thread_priority.h Source File

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

Loading...
Searching...
No Matches
thread_priority.h
Go to the documentation of this file.
1//
2// Copyright 2015 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#pragma once
9
10#include <uhd/config.h>
11#include <uhd/error.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17static const float uhd_default_thread_priority = 0.5;
18
33 UHD_API uhd_error uhd_set_thread_priority(float priority, bool realtime);
34
35#ifdef __cplusplus
36}
37#endif
config.h
UHD_API
#define UHD_API
Definition config.h:87
error.h
uhd_error
uhd_error
UHD error codes.
Definition error.h:20
uhd_set_thread_priority
UHD_API uhd_error uhd_set_thread_priority(float priority, bool realtime)