lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Using MEM_LIBC_MALLOC == 1 in an OS


From: address@hidden
Subject: Re: [lwip-users] Using MEM_LIBC_MALLOC == 1 in an OS
Date: Sun, 01 Mar 2009 11:39:55 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Edward Harris wrote:
Can anyone advise on SYS_LIGHTWEIGHT_PROT, please?
SYS_LIGHTWEIGHT_PROT should be set to 1 if you are using pbufs or memp-pools from different execution contexts (e.g. more than one thread or interrupt context). The name is somewhat misleading as 0 does not lead to 'heavyweight' protection but no protection at all! This is useful when running the stack with NO_SYS=1 in a big loop without (de-)allocating pbufs from interrupt context (-> only one execution context at all).

Simon




reply via email to

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