USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-g13c32cef
UHD and USRP Manual
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
15 extern "C" {
16 #endif
17 
18 static 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 */
uhd_error
UHD error codes.
Definition: error.h:21
#define UHD_API
Definition: config.h:63
UHD_API uhd_error uhd_set_thread_priority(float priority, bool realtime)