[Top][All Lists]

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

Re: [lwip-users] Race condition with lwip_select (and potential fix)

From: Jonathan Larmour
Subject: Re: [lwip-users] Race condition with lwip_select (and potential fix)
Date: Mon, 18 Dec 2006 20:16:18 +0000
User-agent: Thunderbird (X11/20061107)

Jonathan Larmour wrote:
Chris Deighton wrote:

Based on the above analysis, the fix would appear to be to swap the order in which event_callback() signals the two semaphores. I've tried this and so far it appears to work. I'd appreciate any thoughts from other LwIP users though!

Makes sense to me, for what it's worth.

Doh, I was going to add... once you're happy with it, you could submit a patch to http://savannah.nongnu.org/patch/?group=lwip then hopefully a developer will apply.

eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

reply via email to

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