AW: [En-Nut-Discussion] What stops a Nut... - Heap	unavailable - suggestion
    Harald Kipp 
    harald.kipp at egnite.de
       
    Tue Jul 25 14:27:56 CEST 2006
    
    
  
Don,
Many embedded programmers prefer static allocation for embedded
systems.
However, heap fragmentation is unlikely with Nut/OS. NutHeapAlloc()
uses the slow "best fit" method.
Harald
At 17:59 25.07.2006 +1000, you wrote:
>Personally I try to avoid malloc like the plague on embedded systems, I 
>much rather allocate fixed buffers for threads and work within them. No 
>possibility of heap fragmentation at a later stage.
    
    
More information about the En-Nut-Discussion
mailing list