RTEMS Logo

RTEMS 4.10.2 On-Line Library


Dual-Ported Memory Manager PORT_DELETE - Delete a port

PREV UP NEXT Bookshelf RTEMS C User's Guide

15.4.3: PORT_DELETE - Delete a port

CALLING SEQUENCE:

rtems_status_code rtems_port_delete(
  rtems_id id
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - port deleted successfully
RTEMS_INVALID_ID - invalid port id

DESCRIPTION:

This directive deletes the dual-ported memory area specified by id. The DPCB for the deleted dual-ported memory area is reclaimed by RTEMS.

NOTES:

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

The calling task does not have to be the task that created the port. Any local task that knows the port id can delete the port.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation