|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #46321] Synchronization bug around lwip_select() and tcpip_thread() with thread-local semaphores |
Date: | Mon, 02 Nov 2015 12:09:01 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 |
Follow-up Comment #5, bug #46321 (project lwip): Re comment #3 > I second the sys_arch_sem_trywait() idea! I don't think we need this: the select_cb struct has a member to ensure its semaphore is only signalled once. That way, we should never block at the point where I used the 1ms timeout since we only wait if the semaphore is signalled and we didn't get this signal. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?46321> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |