|
From: | embed9527 |
Subject: | Re:Re: RE : [lwip-users] (no subject) |
Date: | Thu, 6 Dec 2007 17:04:41 +0800 (CST) |
Do you mean that if I set the size of messeges for lwip mailbox big enough,
the mbox will neverbe full?
There is a limitation in the current lwIP sys-arch layer: sys_mbox_post must never fail! The result when not posting a message to the mbox is unpredictable (although most of the time, the stack will lock up, just like you see it). So while returning void is of course correct, you must ASSERT somehow if an mbox is full. Then keep trying to set the correct size of the mboxes so they are never full. lwIP 1.3.0 hopefully will solve that problem... Simon
[Prev in Thread] | Current Thread | [Next in Thread] |