procedure Region_Delete ( ID : in RTEMS.ID; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- region deleted successfully
RTEMS.INVALID_ID
- invalid region id
RTEMS.RESOURCE_IN_USE
- segments still in use
This directive deletes the region specified by id. The region cannot be deleted if any of its segments are still allocated. The RNCB for the deleted region is reclaimed by RTEMS.
This directive will not cause the calling task to be preempted.
The calling task does not have to be the task that created the region. Any local task that knows the region id can delete the region.
Copyright © 1988-2008 OAR Corporation