GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
realtime.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2006,2013 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_GR_REALTIME_H
12#define INCLUDED_GR_REALTIME_H
13
14#include <gnuradio/api.h>
15
16namespace gr {
17
19
21 RT_SCHED_RR = 0, // round robin
22 RT_SCHED_FIFO = 1, // first in first out
23};
24
25/*!
26 * \brief If possible, enable high-priority "real time" scheduling.
27 * \ingroup misc
28 */
30
31} /* namespace gr */
32
33#endif /* INCLUDED_GR_REALTIME_H */
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
GR_RUNTIME_API rt_status_t enable_realtime_scheduling()
If possible, enable high-priority "real time" scheduling.
GNU Radio logging wrapper.
Definition: basic_block.h:29
rt_status_t
Definition: realtime.h:18
@ RT_OK
Definition: realtime.h:18
@ RT_OTHER_ERROR
Definition: realtime.h:18
@ RT_NO_PRIVS
Definition: realtime.h:18
@ RT_NOT_IMPLEMENTED
Definition: realtime.h:18
rt_sched_policy
Definition: realtime.h:20
@ RT_SCHED_FIFO
Definition: realtime.h:22
@ RT_SCHED_RR
Definition: realtime.h:21