diff -Naur rtems-4.6.6/doc/user/timer.t rtems-4.6.6-ele/doc/user/timer.t
old
|
new
|
|
60 | 60 | The Timer Server task is responsible for executing the timer |
61 | 61 | service routines associated with all task-based timers. |
62 | 62 | This task executes at a priority higher than any RTEMS application |
63 | | task and thus can be viewed logically as the lowest priority interrupt. |
| 63 | task, and is created non-preemptable, and thus can be viewed logically as |
| 64 | the lowest priority interrupt. |
64 | 65 | |
65 | 66 | By providing a mechanism where timer service routines execute |
66 | 67 | in task rather than interrupt space, the application is |
… |
… |
|
70 | 71 | it would be save to perform floating point operations |
71 | 72 | from a task-based timer. Most of the time, executing floating |
72 | 73 | point instructions from an interrupt service routine |
73 | | is not considered safe. |
| 74 | is not considered safe. However, since the Timer Server task |
| 75 | is non-preemptable, only directives allowed from an ISR can be |
| 76 | called in the timer service routine. |
74 | 77 | |
75 | 78 | The Timer Server is designed to remain blocked until a |
76 | 79 | task-based timer fires. This reduces the execution overhead |
… |
… |
|
512 | 515 | @findex rtems_timer_initiate_server |
513 | 516 | @example |
514 | 517 | rtems_status_code rtems_timer_initiate_server( |
| 518 | unsigned32 priority, |
515 | 519 | unsigned32 stack_size, |
516 | 520 | rtems_attribute attribute_set |
517 | 521 | ) |