[EMAIL PROTECTED] 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


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

Reply via email to