Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: vdr-1.3.13 with NTPL



On Thu, Oct 21, 2004 at 11:08:03AM +0200, Klaus Schmidinger wrote:
> 
> Great!
> 
> I'll take it from here and will see what can be done (if at all necessary)
> to keep the CPU load low without that usleep().

Btw: If there is really a break point needed for rescheduling one could
use pthread_yield() todo the job ... but this works only if really an
other thread needs the CPU.

On the other side a mutex togther with a condition variable, with this a
polling class would be possible, OK this would bring something like an
order into the SCHED_RR scheme ;^)


       Werner

-- 
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
 "Having a smoking section in a restaurant is like having
         a  peeing section in a swimming pool." -- Edward Burr




Home | Main Index | Thread Index