|
From: | address@hidden |
Subject: | Re: [lwip-users] lwip with & without OS (need help & advice) |
Date: | Wed, 20 Apr 2011 20:34:16 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
sanjib das wrote:
Hi All,
Hi onebrother,
In the lwIP case, "OS" has nothing to do with Linux or Windows or other full-featured operating systems. Instead, it means the ability to have multiple threads. lwIP as such is targeted for embedded systems only. You can compile it to run as a process in user-space on Linux or Windows (and others), but first, you need a way to access a network device from there (e.g. by using pcap or a tunnel-interface) and on the other hand, you won't get the same performance as you do with these OS's internal network stacks as lwIP often favours small size over high speed.I am very new to lwip. I have a very basic doubt on porting lwip with & without OS. I googled a lot...but dint get as such any link where things are explained in detail.
So, in the lwIP case, "without OS" means you have on big main loop only (aside from interrupts), while "with OS" means that you have a small embedded OS that provides threading support, semaphores, mailboxes, etc.
OTOH, there are working ports for Linux and windows in the contrib module in CVS, but that's simply not the main target of lwIP.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |