lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] (no subject)


From: Kaos
Subject: Re: [lwip-devel] (no subject)
Date: Fri, 19 Mar 2004 09:53:01 +0100
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

address@hidden wrote:

On Fri, 19 Mar 2004, Leon Woestenberg wrote:

I would suggest using standard C names, with lwip_ prefix, such
as malloc() lwip_free(). The memory allocator should then implement
those functions.

I like this sugestion.



Sounds like a great idea to me. Perhaps the memory allocator could be a
part of the port instead of the main lwIP tree? This would make a lot of
sense to me.


The only problem is how to support both a general purpose and
pool allocator for those that really want it (anyone?).

I don't quite see the problem, but I'm not a memory guru either. If your question is about anyone wants to use a pool allocator - I do, since it's alredy in place with the os I use and I prefer a pool version to avoid memory fragmentation.

// Andreas

[snip]







reply via email to

[Prev in Thread] Current Thread [Next in Thread]