Re: Core Audio thread priority
Re: Core Audio thread priority
- Subject: Re: Core Audio thread priority
- From: Stéphane Letz <email@hidden>
- Date: Fri, 15 Oct 2010 09:15:33 +0200
>
> On Thu, Oct 14, 2010 at 11:27 PM, B.J. Buchalter <email@hidden> wrote:
>>
>> On Oct 14, 2010, at 11:10 PM, Paul Davis wrote:
>>
>>> thankfully, OS X makes this vastly simpler than most pthread-based
>>> systems. the jack code to do this is 1 line:
>>>
>>> setThreadToPriority(thread, 96, TRUE, 10000000);
>>
>> Actually, that is a call to something that you have implemented in Jack.
>
> actually, no. this is an existing Mach or CoreFoobar call, AFAIK.
> Stephane can comment (and probably will).
>
> --p
>
>
JACK what we precisely do is:
- the "period, computation, constraint" parameters of the server IO RT time constraint thread are read once
- there values are transmitted to each JACK client (actually are part of a server/clients shared memory zone)
- when run in RT (the default), each JACK client starts a RT time constraint thread and gives it the same "period, computation, constraint" parameters used in the server.
Regards.
Stéphane Letz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden