rtems_status_code rtems_timer_initiate_server( uint32_t priority, uint32_t stack_size, rtems_attribute attribute_set ) );
RTEMS_SUCCESSFUL
- Timer Server initiated successfully
RTEMS_TOO_MANY
- too many tasks created
This directive initiates the Timer Server task. This task
is responsible for executing all timers initiated via the
rtems_timer_server_fire_after
or
rtems_timer_server_fire_when
directives.
This directive could cause the calling task to be preempted.
The Timer Server task is created using the
rtems_task_create
service and must be accounted
for when configuring the system.
Even through this directive invokes the rtems_task_create
and rtems_task_start
directives, it should only fail
due to resource allocation problems.
Copyright © 1988-2004 OAR Corporation