GNU Radio 3.4.2 C++ API
realtime.h File Reference
#include <stdexcept>
Include dependency graph for realtime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gruel::rt_sched_param

Enumerations

enum  rt_status_t { gruel::RT_OK = 0, gruel::RT_NOT_IMPLEMENTED, gruel::RT_NO_PRIVS, gruel::RT_OTHER_ERROR }
enum  rt_sched_policy { gruel::RT_SCHED_RR = 0, gruel::RT_SCHED_FIFO = 1 }

Functions

static int gruel::rt_priority_min ()
static int gruel::rt_priority_max ()
static int gruel::rt_priority_default ()
rt_status_t gruel::enable_realtime_scheduling (rt_sched_param=rt_sched_param())
 If possible, enable "realtime" scheduling.In general, this means that the code will be scheduled before any non-realtime (normal) processes. Note that if your code contains an non-blocking infinite loop and you enable realtime scheduling, it's possible to hang the system.