GNU Radio C++ API
realtime.h File Reference
#include <gruel/api.h>
#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
 

Namespaces

 gruel
 Include this header to use the message passing features.
 

Constant Groups

 gruel
 Include this header to use the message passing features.
 

Enumerations

enum  gruel::rt_status_t { gruel::RT_OK = 0, gruel::RT_NOT_IMPLEMENTED, gruel::RT_NO_PRIVS, gruel::RT_OTHER_ERROR }
 
enum  gruel::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_API 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. More...