From 11ab74ef980467db8b0e7a88862cfb08744b2481 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 5 Dec 1995 15:27:51 +0000 Subject: new states added and _Rate_monotonic_Set_State removed. --- cpukit/rtems/include/rtems/rtems/ratemon.h | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'cpukit/rtems/include/rtems/rtems/ratemon.h') diff --git a/cpukit/rtems/include/rtems/rtems/ratemon.h b/cpukit/rtems/include/rtems/rtems/ratemon.h index 4e85ab1ac2..3c6c6695ca 100644 --- a/cpukit/rtems/include/rtems/rtems/ratemon.h +++ b/cpukit/rtems/include/rtems/rtems/ratemon.h @@ -39,9 +39,13 @@ extern "C" { */ typedef enum { - RATE_MONOTONIC_INACTIVE, /* off chain, never initialized */ - RATE_MONOTONIC_ACTIVE, /* on chain, running continuously */ - RATE_MONOTONIC_EXPIRED /* off chain, will be reset by next rm_period */ + RATE_MONOTONIC_INACTIVE, /* off chain, never initialized */ + RATE_MONOTONIC_OWNER_IS_BLOCKING, /* on chain, owner is blocking on it */ + RATE_MONOTONIC_ACTIVE, /* on chain, running continuously */ + RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING, /* on chain, expired while owner was */ + /* was blocking on it */ + RATE_MONOTONIC_EXPIRED /* off chain, will be reset by next */ + /* rtems_rate_monotonic_period */ } Rate_Monotonic_Period_states; /* @@ -192,20 +196,6 @@ STATIC INLINE Rate_monotonic_Control *_Rate_monotonic_Get ( Objects_Locations *location ); -/* - * _Rate_monotonic_Set_state - * - * DESCRIPTION: - * - * This function blocks the calling task so that it is waiting for - * a period to expire. It returns TRUE if the task was successfully - * blocked, and FALSE otherwise. - */ - -boolean _Rate_monotonic_Set_state( - Rate_monotonic_Control *the_period -); - /* * _Rate_monotonic_Timeout * -- cgit v1.2.3