[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #46321] Synchronization bug around lwip_select() and t
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #46321] Synchronization bug around lwip_select() and tcpip_thread() with thread-local semaphores |
Date: |
Thu, 29 Oct 2015 21:09:32 +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 #1, bug #46321 (project lwip):
Wow, that's one *long* post!
The best way to fix this would be a call to 'sys_archm_sem_trywait()', but
unfortunately, this function doesn't exist (yet). I'm tempted to introduce it,
though...
Another option would be to wait one milisecond after taking select_cb off the
list (unless we already waited and got signalled)...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46321>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/