lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip with & without OS (need help & advice)


From: sanjib das
Subject: Re: [lwip-users] lwip with & without OS (need help & advice)
Date: Thu, 28 Apr 2011 13:52:58 +0530

thanks Simon.

On Thu, Apr 21, 2011 at 12:04 AM, address@hidden <address@hidden> wrote:
sanjib das wrote:
Hi All,
Hi onebrother,


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.
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.

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

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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