On Mon, 2007-05-14 at 23:42 +0200, Jan Kiszka wrote: > Jeff Koftinoff wrote: > > Because I have many layers of audio processing procedures that need to > > be scheduled at different periodic intervals, with different priorities. > > lower level audio processing procedures run every 166 microseconds and > > have highest priority, and interrupt higher level lower rate (5.3 > > ms,10.66 ms and 32 ms) control processing procedures. > > So they are all multiples of the base period? Why not let the high-rate > tasks wake the low-rate ones when time has come, e.g. via semaphores? >
Thanks for the info. I'll try it out like this - one thread which waits on the interrupt, and then have it selectively wake up lower priority tasks after it finishes the most important ones based on the count. I just thought it would be nicer to do all timing in terms of the audio samples - as all processing that we do is directly related to the audio rate. Regards, Jeff Koftinoff www.jdkoftinoff.com _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
