[Olsr-dev] patch for scheduler

Hannes Gredler (spam-protected)
Fri Feb 1 13:44:39 CET 2008

i have two questions 

1. what do you do on scheduler slips (i.e. the scheduler
   due to excessive CPU consumption falls behind)

2. what is the advantage of your proposal over the
   current code ?


On Thu, Jan 31, 2008 at 09:48:07PM +0100, Roman Steiner wrote:
| 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

More information about the Olsr-dev mailing list