rtems_status_code rtems_timer_delete( rtems_id id );
RTEMS_SUCCESSFUL
- timer deleted successfully
RTEMS_INVALID_ID
- invalid timer id
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.
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.
Copyright © 1988-2008 OAR Corporation