summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/rtems/posix/timer.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-25 17:15:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-25 17:15:44 +0000
commitb602c298a90eaee590ab46d0b6fc4b298f6ce967 (patch)
tree2ad5d5edfc0d991c4ee94ec9262229ed12865d1b /c/src/exec/posix/include/rtems/posix/timer.h
parent2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-b602c298a90eaee590ab46d0b6fc4b298f6ce967.tar.bz2
2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to '')
-rw-r--r--c/src/exec/posix/include/rtems/posix/timer.h14
1 files changed, 14 insertions, 0 deletions
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 <rtems/posix/timer.inl>
+#endif
+
#endif
/* end of include file */