lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Why does sys_sem_wait_timeout exist?


From: Atte Kojo
Subject: [lwip-users] Why does sys_sem_wait_timeout exist?
Date: Tue, 27 Feb 2007 11:43:50 +0200
User-agent: Thunderbird 1.5.0.8 (X11/20061107)

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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]