[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] [task #6683] Document lwIPs threadsafety requirements
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-devel] [task #6683] Document lwIPs threadsafety requirements |
Date: |
Tue, 17 Apr 2007 15:49:04 +0100 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070301) |
Goldschmidt Simon wrote:
Oh, and FD_SETSIZE not depending on NUM_SOCKETS looks like a bug which
should
go into the bug tracker, doesn't it?
Actually I was just going to go ahead and fix this since it's trivial.
(I don't think it is necessary to let it be dependent on
MEMP_NUM_NETCONN - if
the user has set NUM_SOCKETS higher than MEMP_NUM_NETCONN it's his fault
to waste
memory, I think)
BTW, NUM_SOCKETS is unconditionally defined to MEMP_NUM_NETCONN at the top
of sockets.c so it must be the same. Maybe it should be a separate option,
but I think the idea is that in general if someone's using the BSD API,
they probably aren't _also_ using the netconn API separately.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------ Opinions==mine