RTEMS 6.1-rc1
Functions
rtems_heap_sbrk_greedy.c File Reference

Greedy Allocate that Empties the sbrk system call. More...

#include "malloc_p.h"

Functions

void rtems_heap_sbrk_greedy_allocate (Heap_Control *heap, size_t alloc_size)
 Greedy allocate that empties the sbrk memory. More...
 

Detailed Description

Greedy Allocate that Empties the sbrk system call.

Greedy allocation os sbrk system call memory

The call consumes all the avialable sbrk memory extending the supplied heap with it. There is no free as sbrk memory is only ever allocated.