[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Linked lists.
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Linked lists. |
Date: |
Thu, 2 Jan 2003 14:44:02 +0100 (MET) |
"J.C.Wren" <address@hidden> wrote:
> Be aware that using malloc() in an embedded system is
> generally considered a Bad Idea. It can lead to fragmenting where
> you actually have sufficient free memory available, but no large
> enough chucks.
Our implementation tries its best to keep fragmentation as small as
possible. Sure, it cannot guarantee no fragmentation will ever
happen, so developers are advised to read and understand how malloc()
is implemented:
http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/malloc.html
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [avr-gcc-list] Linked lists.,
Joerg Wunsch <=