Hi Darius,
On Thu, Sep 24, 2015 at 10:36:02AM +0300, Darius Babrauskas wrote: > > About systimeouts I found her(old info): > http://lwip.wikia.com/wiki/Porting_for_an_OS This is very outdated, sys_arch_timeouts() is not needed anymore circa 2011. > Its my opinion, because some year ago my experience was not > successful with linux port (works but unstable) . > > In current linux port I have a sighting in function "cond_wait" > which using gettimeofday: > We have depends to system time adjustments (ntp, user ...) > Maybe better solution use CLOCK_MONOTONIC... You are right, CLOCK_REALTIME (the gettimeofday() timing source) is not a nice timing source to get elapsed time, the port is now using CLOCK_MONOTONIC. However I doubt that having used CLOCK_REALTIME instead of CLOCK_MONOTONIC was enough to qualify the whole port as being miswritten. Why didn't you propose a patch when you noticed that several years ago ? Sylvain
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
