logo       

Re: Race condition with lwip_select (and potential fix): msg#00035

network.lwip.general

Subject: Re: Race condition with lwip_select (and potential fix)

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.

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise