USRP Hardware Driver and USRP Manual
Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
thread_priority.h
Go to the documentation of this file.
1
//
2
// Copyright 2015 Ettus Research LLC
3
//
4
// SPDX-License-Identifier: GPL-3.0
5
//
6
7
#ifndef INCLUDED_UHD_UTILS_THREAD_PRIORITY_H
8
#define INCLUDED_UHD_UTILS_THREAD_PRIORITY_H
9
10
#include <
uhd/config.h
>
11
#include <
uhd/error.h
>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
static
const
float
uhd_default_thread_priority = 0.5;
18
33
UHD_API
uhd_error
uhd_set_thread_priority
(
34
float
priority,
35
bool
realtime
36
);
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
/* INCLUDED_UHD_UTILS_THREAD_PRIORITY_H */
config.h
error.h
uhd_error
uhd_error
UHD error codes.
Definition:
error.h:20
UHD_API
#define UHD_API
Definition:
config.h:62
uhd_set_thread_priority
UHD_API uhd_error uhd_set_thread_priority(float priority, bool realtime)
include
uhd
utils
thread_priority.h
Generated by
1.8.13