Re: More thread scheduling observations
Re: More thread scheduling observations
- Subject: Re: More thread scheduling observations
- From: andybull <email@hidden>
- Date: Mon, 06 May 2002 11:21:23 +0100
on 6/5/02 8:37 am, Herbie Robinson at email@hidden wrote:
>
Please bear in mind that Professional Audio is a "one strike you are
>
out" business. When I'm recording a concert, I can't run up to the
>
stage and ask the band to stop and play the song over again. That
>
means that missing recording a take because the OS decided to pretty
>
up the screen is NOT an appropriate tradeoff.
Absolutely, I couldn't agree more.
>
To me, this says that things like feeder threads should be running
>
real-time (obviously pre-emptable) at a fairly long time interval (1
>
sec or so). The appropriate algorithm would queue all the disk I/O
>
for the interval and sleep. That said, I believe that a feeder
>
thread that is doing disk I/O would not be taking up huge amounts of
>
CPU time; so, it probably corresponds to the definition of something
>
that is OK as a real-time thread, right?
After hearing the arguments from Bill and Ian, I have decided to implement a
user "prefs" scheme which will allow the user to setup a feeder priority
according to their requirements. I am designing it so it will range from
"cooperative" to "greedy".
Andy.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.