lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP - netconn with cooperative scheduling


From: Kieran Mansley
Subject: Re: [lwip-users] LWIP - netconn with cooperative scheduling
Date: Tue, 02 Jun 2009 12:15:45 +0100

On Thu, 2009-05-21 at 10:05 -0400, Mark Phillips wrote:
> I assumed that this would be a safe environment; i.e. that none of the 
> netconn functions would suspend (waiting for mbox or sem) when it was 
> unsafe for a different task to call one of these functions, but I 
> suspect I may be wrong here?

The golden rule for lwIP and threads is that there should only be one
thread in the core stack at any one time.  Having multiple sockets
serviced from different threads is not guaranteed to work, even in a
cooperatively-scheduled OS.

Kieran





reply via email to

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