23#ifndef INCLUDED_GNURADIO_REALTIME_H
24#define INCLUDED_GNURADIO_REALTIME_H
66 throw std::invalid_argument(
"rt_sched_param: priority out of range");
#define GR_RUNTIME_API
Definition gnuradio-runtime/include/gnuradio/api.h:30
GR_RUNTIME_API rt_status_t enable_realtime_scheduling()
If possible, enable high-priority "real time" scheduling.
static int rt_priority_default()
Definition realtime_impl.h:55
static int rt_priority_max()
Definition realtime_impl.h:54
static int rt_priority_min()
Definition realtime_impl.h:53
Include this header to use the message passing features.
Definition basic_block.h:45
rt_status_t
Definition realtime_impl.h:36
@ RT_OK
Definition realtime_impl.h:36
@ RT_OTHER_ERROR
Definition realtime_impl.h:36
@ RT_NO_PRIVS
Definition realtime_impl.h:36
@ RT_NOT_IMPLEMENTED
Definition realtime_impl.h:36
rt_sched_policy
Definition realtime_impl.h:38
@ RT_SCHED_FIFO
Definition realtime_impl.h:40
@ RT_SCHED_RR
Definition realtime_impl.h:39
Definition realtime_impl.h:57
rt_sched_policy policy
Definition realtime_impl.h:59
rt_sched_param()
Definition realtime_impl.h:61
int priority
Definition realtime_impl.h:58
rt_sched_param(int priority_, rt_sched_policy policy_=RT_SCHED_RR)
Definition realtime_impl.h:63