From c31058947491ca319c901040219be39e4f8155b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 19 Oct 2017 13:47:57 +0200 Subject: score: Move thread queue timeout handling Update #3117. Update #3182. --- cpukit/score/include/rtems/score/watchdog.h | 31 ++--------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'cpukit/score/include/rtems/score/watchdog.h') diff --git a/cpukit/score/include/rtems/score/watchdog.h b/cpukit/score/include/rtems/score/watchdog.h index a379bf7a23..dbb092bbef 100644 --- a/cpukit/score/include/rtems/score/watchdog.h +++ b/cpukit/score/include/rtems/score/watchdog.h @@ -53,36 +53,9 @@ typedef struct Watchdog_Control Watchdog_Control; typedef uint32_t Watchdog_Interval; /** - * @brief The clock discipline to use for the Watchdog timeout interval. + * @brief Special watchdog ticks value to indicate an infinite wait. */ -typedef enum { - - /** - * @brief Indefinite wait. - * - * This is to indicate there is no timeout and not to use a watchdog. It - * must be equal to 0, which is an illegal relative clock interval, so that - * it may be used as a Watchdog_Interval value with WATCHDOG_RELATIVE to - * express an indefinite wait. - */ - WATCHDOG_NO_TIMEOUT = 0, - - /** - * @brief Relative clock. - * - * The reference time point for the watchdog is current ticks value - * during insert. Time is measured in clock ticks. - */ - WATCHDOG_RELATIVE, - - /** - * @brief Absolute clock. - * - * The reference time point for this header is the POSIX Epoch. Time is - * measured in nanoseconds since POSIX Epoch. - */ - WATCHDOG_ABSOLUTE -} Watchdog_Discipline; +#define WATCHDOG_NO_TIMEOUT 0 /** * @brief Return type from a Watchdog Service Routine. -- cgit v1.2.3