GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
realtime_impl.h File Reference
#include <gnuradio/api.h>
#include <stdexcept>
Include dependency graph for realtime_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gr::impl::rt_sched_param
 

Namespaces

 gr
 Include this header to use the message passing features.
 
 gr::impl
 

Enumerations

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

Functions

static int gr::impl::rt_priority_min ()
 
static int gr::impl::rt_priority_max ()
 
static int gr::impl::rt_priority_default ()
 
GR_RUNTIME_API rt_status_t gr::impl::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...