summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/include/rtems/posix/timer.h')
-rw-r--r--cpukit/posix/include/rtems/posix/timer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/posix/include/rtems/posix/timer.h b/cpukit/posix/include/rtems/posix/timer.h
index 8b11a18e65..ba0745b8b3 100644
--- a/cpukit/posix/include/rtems/posix/timer.h
+++ b/cpukit/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 */