RTEMS Logo

RTEMS 4.6.4 On-Line Library


Region Manager Releasing a Segment

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

14.3.5: Releasing a Segment

When a segment is returned to a region by the rtems.region_return_segment directive, it is merged with its unallocated neighbors to form the largest possible segment. The first task on the wait queue is examined to determine if its segment request can now be satisfied. If so, it is given a segment and unblocked. This process is repeated until the first task's segment request cannot be satisfied.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2004 OAR Corporation