GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
realtime_impl.h File Reference
#include <gnuradio/api.h>
#include <stdexcept>

Go to the source code of this file.

Classes

struct  gr::impl::rt_sched_param
 

Namespaces

 gr
 GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
 
 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...