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


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to