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.
Copyright © 1988-2008 OAR Corporation