summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/types.h')
-rw-r--r--cpukit/include/rtems/rtems/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h
index e5dd1afc3b..5ce3eb6604 100644
--- a/cpukit/include/rtems/rtems/types.h
+++ b/cpukit/include/rtems/rtems/types.h
@@ -86,6 +86,13 @@ typedef CPU_Interrupt_frame rtems_interrupt_frame;
typedef Watchdog_Interval rtems_interval;
/**
+ * @brief Constant for indefinite wait.
+ *
+ * This is actually an illegal interval value.
+ */
+#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT)
+
+/**
* @brief Data structure to manage and manipulate calendar
* @ref ClassicRTEMSSecTime "time".
*/