lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Picking appropriate sizes for the different mboxes


From: Mason
Subject: Re: [lwip-users] Picking appropriate sizes for the different mboxes
Date: Tue, 14 Feb 2012 10:31:50 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Firefox/10.0 SeaMonkey/2.7

Mason wrote:

> The documentation for sys_mbox_new states
> 
>> Creates an empty mailbox for maximum "size" elements. Elements stored
>> in mailboxes are pointers. You have to define macros "_MBOX_SIZE"
>> in your lwipopts.h, or ignore this parameter in your implementation
>> and use a default size.
> 
> The relevant macros are
> 
> TCPIP_MBOX_SIZE
> DEFAULT_RAW_RECVMBOX_SIZE
> DEFAULT_UDP_RECVMBOX_SIZE
> DEFAULT_TCP_RECVMBOX_SIZE
> DEFAULT_ACCEPTMBOX_SIZE
> 
> I have no idea how big or small each one should be.  o_O
> How to make an intelligent decision?

I suppose this topic has already been discussed (more than once)
on this list? Could someone point me to a previous discussion?

-- 
Regards.



reply via email to

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