lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip_select() blocks even if timeout is 0


From: Rishi Khan
Subject: Re: [lwip-users] lwip_select() blocks even if timeout is 0
Date: Mon, 6 Oct 2008 12:19:16 -0400

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
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users






reply via email to

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