RTEMS Logo

RTEMS 4.9.2 On-Line Library


Timer Manager TIMER_CANCEL - Cancel a timer

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

8.4.3: TIMER_CANCEL - Cancel a timer

CALLING SEQUENCE:

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

DIRECTIVE STATUS CODES:

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

DESCRIPTION:

This directive cancels the timer id. This timer will be reinitiated by the next invocation of rtems.timer_reset, rtems.timer_fire_after, or rtems.timer_fire_when with this id.

NOTES:

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


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation