USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
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#ifndef INCLUDED_UHD_UTILS_THREAD_PRIORITY_H
9#define INCLUDED_UHD_UTILS_THREAD_PRIORITY_H
10
11#include <uhd/config.h>
12#include <uhd/error.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18static const float uhd_default_thread_priority = 0.5;
19
35 float priority,
36 bool realtime
37);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* INCLUDED_UHD_UTILS_THREAD_PRIORITY_H */
#define UHD_API
Definition config.h:68
uhd_error
UHD error codes.
Definition error.h:21
UHD_API uhd_error uhd_set_thread_priority(float priority, bool realtime)