diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-16 22:09:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-16 22:09:50 +0000 |
commit | c55df856aaba12355354374983fc1e69bb60373d (patch) | |
tree | 69d27f1748f29490a291d934a76b4e4afb9baadd /c/src/exec/rtems/inline/rtems/rtems/timer.inl | |
parent | 2001-01-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-c55df856aaba12355354374983fc1e69bb60373d.tar.bz2 |
2001-01-16 Joel Sherrill <joel@OARcorp.com>
* Added task-based timers to the Timer Manager. This added three
new directives:
- rtems_timer_initiate_server
- rtems_timer_server_fire_after
- rtems_timer_server_fire_when
In the process of doing this, a number of cleanups were made.
* src/timerserver.c, src/timerserverfireafter.c,
src/timerserverfirewhen.c: New files.
* include/timer/timer.h: Added new prototypes and supporting types.
* inline/rtems/rtems/timer.h, macros/rtems/rtems/timer.h: Enhanced
_Timer_Is_interval_class() to cover the class TIMER_INTERVAL_ON_TASK.
* src/Makefile.am: Accounted for new files.
* src/rtemstimer.c: Added initialization of _Timer_Server variable.
* src/timercancel.c, src/timerreset.c: Account for addition
of timer classes. Also corrected the headers.
* src/timercreate.c, src/timerdelete.c, src/timerfireafter.c,
src/timerfireafter.c, src/timerident.c: Corrected header.
Diffstat (limited to 'c/src/exec/rtems/inline/rtems/rtems/timer.inl')
-rw-r--r-- | c/src/exec/rtems/inline/rtems/rtems/timer.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/inline/rtems/rtems/timer.inl b/c/src/exec/rtems/inline/rtems/rtems/timer.inl index a887553ce4..33bf5fc3c6 100644 --- a/c/src/exec/rtems/inline/rtems/rtems/timer.inl +++ b/c/src/exec/rtems/inline/rtems/rtems/timer.inl @@ -84,7 +84,7 @@ RTEMS_INLINE_ROUTINE boolean _Timer_Is_interval_class ( Timer_Classes the_class ) { - return ( the_class == TIMER_INTERVAL ); + return (the_class == TIMER_INTERVAL) || (the_class == TIMER_INTERVAL_ON_TASK); } /*PAGE |