lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] memp_malloc system protection


From: address@hidden
Subject: Re: [lwip-users] memp_malloc system protection
Date: Fri, 27 Nov 2009 07:56:35 +0100
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Mike Kleshov wrote:
2009/11/27 address@hidden <address@hidden>:
Yes, you should. That's what's SYS_LIGHTWEIGHT_PROT is meant to be for.

Simon

Surely it depends on the application. I'm using lwip raw API with no
OS. I'm not using any concurrent access protection whatsoever. My
interrupt service routines are small and simple, and they are not
related to lwip in any way. Hence, no need for any protection.
I didn't think anyone having thought this through like you did would ask such a question, so basically the answer is still "yes, the memp pools need protection"! If you know you are running in a system where there is no need for protection, the question wouldn't have arised...

Simon




reply via email to

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