From b602c298a90eaee590ab46d0b6fc4b298f6ce967 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 25 Aug 2000 17:15:44 +0000 Subject: 2000-08-25 Joel Sherrill * inline/rtems/posix/timer.inl, include/rtems/posix/timer.h, inline/rtems/posix/Makefile.am, src/ptimer1.c: Redid the style of src/ptimer1.c. Continued effort to make the POSIX Timer implementation match that of other managers. Added data structures required to use SuperCore Object Handler. --- c/src/exec/posix/include/rtems/posix/timer.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'c/src/exec/posix/include/rtems/posix/timer.h') diff --git a/c/src/exec/posix/include/rtems/posix/timer.h b/c/src/exec/posix/include/rtems/posix/timer.h index 8b11a18e65..ba0745b8b3 100644 --- a/c/src/exec/posix/include/rtems/posix/timer.h +++ b/c/src/exec/posix/include/rtems/posix/timer.h @@ -35,6 +35,9 @@ */ typedef struct { + Objects_Control Object; + Watchdog_Control Ticker; + pthread_t thread_id; /* Thread identifier */ char state; /* State of the timer */ struct sigevent inf; /* Information associated to the timer */ @@ -52,6 +55,17 @@ typedef struct { extern int timer_max; extern POSIX_Timer_Control *timer_struct; +/* + * The following defines the information control block used to manage + * this class of objects. + */ + +RTEMS_EXTERN Objects_Information _POSIX_Timer_Information; + +#ifndef __RTEMS_APPLICATION__ +#include +#endif + #endif /* end of include file */ -- cgit v1.2.3