Loading...
Searching...
No Matches
thread_priority.h
Go to the documentation of this file.
//
// Copyright 2015 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.h>
#include <uhd/error.h>
#ifdef __cplusplus
extern "C" {
#endif
static const float uhd_default_thread_priority = 0.5;
UHD_API uhd_error uhd_set_thread_priority(float priority, bool realtime);
#ifdef __cplusplus
}
#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)