OAR

RTEMS 4.5.1-pre3 On-Line Library


Timer Manager TIMER_DELETE - Delete a timer

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

8.4.4: TIMER_DELETE - Delete a timer

CALLING SEQUENCE:

procedure Timer_Delete (
   ID     : in     RTEMS.ID;
   Result :    out RTEMS.Status_Codes
);

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - timer deleted successfully
RTEMS.INVALID_ID - invalid timer id

DESCRIPTION:

This directive deletes the timer specified by id. If the timer is running, it is automatically canceled. The TMCB for the deleted timer is reclaimed by RTEMS.

NOTES:

This directive will not cause the running task to be preempted.

A timer can be deleted by a task other than the task which created the timer.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2000 OAR Corporation