Massimiliano Cialdi wrote: > > Norm Dresner wrote: > > > > If you have a 2 second deadline and a routine that takes, > > say, 150 milliseconds to execute, then set the sleep for > > 1.85 seconds and you'll meet your deadline. Unfortunately > I don't know how long is routine: it's hardware dependent! Another problem is that the scheduler must know where dead line is for a thread, otherwise this thread could be preempted by another thread. If I simply use clock_nanosleep(), I don't think that the scheduler would know about thread dead line.
thanks -- Massimiliano Cialdi [EMAIL PROTECTED] [EMAIL PROTECTED] -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
