[En-Nut-Discussion] anyone had probs with setting SO_RCVTIMEO causing lockups?

Harald Kipp harald.kipp at egnite.de
Tue Sep 16 11:41:11 CEST 2003


Damian,

We are using socket timeouts in most of our own applications.

Because of a bug in timer handling, make sure to keep the timeout
above 62 millisecs. This is also true for NutSleep().

90% of lockups are caused by loops without NutThreadYield().

(Just in case: If you are calling input or NutSleep() functions
in your loop, NutTreadYield() is not required.)

Harald




More information about the En-Nut-Discussion mailing list