[Olsr-dev] patch for scheduler

Roman Steiner (spam-protected)
Thu Jan 31 21:48:07 CET 2008


hej hej,

i had a new idea for the scheduler timing. why using difficult  
calculation of used time, if there is a much simpler way.
i just calculate the time difference to the supposed end of the  
iteration and sleep that time. the supposed end is incremented each  
iteration by the interval time.

apply the attached diff-file to src/scheduler.c

roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scheduler.patch
Type: application/octet-stream
Size: 1269 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20080131/a447263f/attachment.obj>


More information about the Olsr-dev mailing list