lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem with sys_msleep in unixsim


From: address@hidden
Subject: Re: [lwip-users] Problem with sys_msleep in unixsim
Date: Mon, 05 May 2008 17:48:14 +0200
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

address@hidden wrote:
does sys_msleep depend on any particular options, such as a certain number of available timeouts?
Just about 2 weeks ago, Rishi Khan wrote about a bug in the unixsim example: the number of timeouts were set too low. This could be your problem, too: sys_msleep needs a timeout struct!

However, if the timeout pool is empty, the code should throw an error using LWIP_ASSERT. Maybe you should check your LWIP_PLATFORM_ASSERT macro for correctness? Or did you define LWIP_NOASSERT?

In any case, setting MEMP_NUM_SYS_TIMEOUT to a higher value than 3 (try 20 for a start, you have plenty of memory on a PC) should solve the problem.

Simon




reply via email to

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