While I was investigating the sockets API I really couldn't understand the reason why sys_sem_wait_timeout() has been implemented. To me it seems that somebody has implemented semaphores with timeouts (sys_sem_wait_timeout) on top of semaphores and timeouts (sys_sem_wait and sys_timeout), which are implemented on top of semaphores with timeouts (sys_arch_sem_wait).

As far as I understand sys_arch_sem_wait is guaranteed to exist, so why implement redundant functionality for just one function (lwip_select).


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to