source: rtems/cpukit/posix/include/rtems/posix/timer.h @ 68003979

4.104.114.84.95
Last change on this file since 68003979 was 68003979, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 19:04:51

* empty log message *

  • Property mode set to 100644
File size: 871 bytes
Line 
1/*
2 *  $Id$
3 */
4
5#ifndef __RTEMS_POSIX_TIMERS_h
6#define __RTEMS_POSIX_TIMERS_h
7
8/*
9 * Data for a timer
10 */
11
12typedef struct {
13  pthread_t         thread_id;  /* Thread identifier                     */
14  char              state;      /* State of the timer                    */
15  struct sigevent   inf;        /* Information associated to the timer   */
16  timer_t           timer_id;   /* Created timer identifier              */
17  struct itimerspec timer_data; /* Timing data of the timer              */
18  unsigned32        ticks;      /* Number of ticks of the initialization */
19  unsigned32        overrun;    /* Number of expirations of the timer    */
20  rtems_time_of_day time;       /* Time in which the timer was started   */
21} timer_alive_t;
22
23/*
24 * Array of Timers
25 */
26
27extern int timer_max;
28extern timer_alive_t *timer_struct;
29
30#endif
31/* end of include file */
32
Note: See TracBrowser for help on using the repository browser.