By any chance, are you setting timeout to 0, or timeout->tv_sec = 0 and timeout->tv_usec=0?
The latter is correct. The former means wait forever.

Rishi

On Oct 6, 2008, at 11:57 AM, Chu, Zhenwei wrote:

Hi,

It seems that lwIP_select() always block even if timeout is set to 0.

The call stack shows it stops at
sys_sem_wait(sem);  (line 316: sys.c)
sys_sem_wait_timeout();

Any suggestions?

Thanks

Zhenwei Chu


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




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

Reply via email to