Imported Upstream version 3.2.2
[debian/gnuradio] / gnuradio-core / src / lib / runtime / gr_realtime.h
index 49a52a0d5cd78afc92f221daa21332a00f1db1cf..830c201d76f1a8f6827dc6459d54e50036f65fb2 100644 (file)
 #ifndef INCLUDED_GR_REALTIME_H
 #define INCLUDED_GR_REALTIME_H
 
-typedef enum {
-  RT_OK = 0,
-  RT_NOT_IMPLEMENTED,
-  RT_NO_PRIVS,
-  RT_OTHER_ERROR
-} gr_rt_status_t;
+#include <gruel/realtime.h>
+
+typedef gruel::rt_status_t gr_rt_status_t;
 
 /*!
  * \brief If possible, enable high-priority "real time" scheduling.
+ * \ingroup misc
  */
-gr_rt_status_t
-gr_enable_realtime_scheduling();
+gr_rt_status_t gr_enable_realtime_scheduling();
 
 #endif /* INCLUDED_GR_REALTIME_H */