RTEMS Logo

RTEMS 4.8.0 On-Line Library


Timer Manager TIMER_INITIATE_SERVER - Initiate server for task-based timers

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

8.4.7: TIMER_INITIATE_SERVER - Initiate server for task-based timers

CALLING SEQUENCE:

procedure Timer_Initiate_Server (
   Server_Priority : in     RTEMS.Task_Priority;
   Stack_Size      : in     RTEMS.Unsigned32;
   Attribute_Set   : in     RTEMS.Attribute;
   Result          :    out RTEMS.Status_Codes
);

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - Timer Server initiated successfully
RTEMS.TOO_MANY - too many tasks created

DESCRIPTION:

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.

NOTES:

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.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2007OAR Corporation