[mythtv] Mythweather not download weather radar map.

Matt Zimmerman mdz at debian.org
Mon May 26 01:30:41 EDT 2003


> Bruce Markey wrote:
> > When a process sleeps, it relinquishes the CPU. After the
> > timeout, the process becomes runable in the run queue and
> > the process scheduler can run it in a future time slice. This
> > is usually 10000-20000usec later. A small usleep says let
> > something else run but check back with me as soon as possible.
> > So even though it says 50 the average delay should be more
> > like 15000usec.

That is what sched_yield is for, but it does not guarantee that there will
be any delay at all if nothing else wants to run.  usleep forces a delay of
at least the time specified.

-- 
 - mdz


More information about the mythtv-dev mailing list