Follow-up Comment #10, patch #5919 (project lwip):
Ok, so event_callback seems to be needed for non-blocking sockets. This could
be avoided, however, if the netconn API would support non-blocking receive
(which is not that useful since we have callbacks for that). But since we now
have sys_arch_mbox_tryfetch(), it could be solved in that way. However, I
suggest to leave it like it is (which means we need event_callback regardless
of select()).
We could however introduce another option LWIP_NONBLOCKING_SOCKETS to remove
that kind of code in order to reduce code size.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5919>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
|