RTEMS Logo

RTEMS 4.9.2 On-Line Library


Region Manager Releasing a Segment

PREV UP NEXT Bookshelf RTEMS C 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 C User's Guide

Copyright © 1988-2008 OAR Corporation