Changeset 16b1c350 in rtems
- Timestamp:
- 12/09/13 19:46:50 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 2b3a648
- Parents:
- 610825b1
- git-author:
- Joel Sherrill <joel.sherrill@…> (12/09/13 19:46:50)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (12/10/13 01:50:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/include/rtems/posix/timerimpl.h
r610825b1 r16b1c350 9 9 10 10 /* 11 * COPYRIGHT (c) 1989-201 1.11 * COPYRIGHT (c) 1989-2013. 12 12 * On-Line Applications Research Corporation (OAR). 13 13 * … … 27 27 #endif 28 28 29 /* Timer is free */29 /** Timer is free */ 30 30 #define POSIX_TIMER_STATE_FREE 0x01 31 31 32 /* Created timer but not running */32 /** Created timer but not running */ 33 33 #define POSIX_TIMER_STATE_CREATE_NEW 0x02 34 34 35 /* Created timer and running */35 /** Created timer and running */ 36 36 #define POSIX_TIMER_STATE_CREATE_RUN 0x03 37 37 38 /* Created, ran and stopped timer */38 /** Created, ran and stopped timer */ 39 39 #define POSIX_TIMER_STATE_CREATE_STOP 0x04 40 40 41 /* Indicates that the fire time is relative to the current one */41 /** Indicates that the fire time is relative to the current one */ 42 42 #define POSIX_TIMER_RELATIVE 0 43 43 … … 51 51 #endif 52 52 53 /* 54 * _POSIX_Timers_Manager_initialization 55 * 56 * DESCRIPTION: 53 /** 54 * @brief POSIX Timer Manager Initialization 57 55 * 58 56 * This routine performs the initialization necessary for this manager. … … 60 58 void _POSIX_Timer_Manager_initialization(void); 61 59 62 /* 63 * @brief Operation that is run when a timer expires60 /** 61 * @brief POSIX Timer Manager Timer Service Routine Helper 64 62 * 65 * T imer TSR63 * This is the operation that is run when a timer expires. 66 64 */ 67 65 void _POSIX_Timer_TSR(Objects_Id timer, void *data); 68 66 69 /* 70 * Watchdog Insert helper67 /** 68 * @brief POSIX Timer Watchdog Insertion Helper 71 69 */ 72 70 bool _POSIX_Timer_Insert_helper( … … 78 76 ); 79 77 80 /* 78 /** 81 79 * The following defines the information control block used to manage 82 80 * this class of objects. … … 84 82 POSIX_EXTERN Objects_Information _POSIX_Timer_Information; 85 83 86 /* 87 * _POSIX_Timer_Allocate 88 * 89 * DESCRIPTION: 84 /** 85 * @brief POSIX Timer Allocate 90 86 * 91 87 * This function allocates a timer control block from 92 88 * the inactive chain of free timer control blocks. 93 89 */ 94 95 90 RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Allocate( void ) 96 91 { … … 98 93 } 99 94 100 /* 101 * _POSIX_Timer_Free 102 * 103 * DESCRIPTION: 95 /** 96 * @brief POSIX Timer Free 104 97 * 105 98 * This routine frees a timer control block to the 106 99 * inactive chain of free timer control blocks. 107 100 */ 108 109 101 RTEMS_INLINE_ROUTINE void _POSIX_Timer_Free ( 110 102 POSIX_Timer_Control *the_timer … … 114 106 } 115 107 116 /* 117 * _POSIX_Timer_Get 118 * 119 * DESCRIPTION: 108 /** 109 * @brief POSIX Timer Get 120 110 * 121 111 * This function maps timer IDs to timer control blocks. … … 125 115 * to OBJECTS_ERROR and the returned value is undefined. 126 116 */ 127 128 117 RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get ( 129 118 timer_t id, … … 135 124 } 136 125 137 /* 138 * _POSIX_Timer_Is_null 139 * 140 * DESCRIPTION: 126 /** 127 * @brief POSIX Timer Is NULL 141 128 * 142 129 * This function returns TRUE if the_timer is NULL and FALSE otherwise. 143 130 */ 144 145 131 RTEMS_INLINE_ROUTINE bool _POSIX_Timer_Is_null ( 146 132 POSIX_Timer_Control *the_timer
Note: See TracChangeset
for help on using the changeset viewer.