Re: pthread_cond_signal and priority inversion
Re: pthread_cond_signal and priority inversion
- Subject: Re: pthread_cond_signal and priority inversion
- From: Ross Bencina <email@hidden>
- Date: Tue, 24 May 2016 09:19:32 +1000
On 24/05/2016 1:37 AM, Paul Davis wrote:
Unless you know the author of an email works inside Apple in a highly
technical role, I would advise against staking too much faith in a
comment like "or better yet dispatch semaphores". And someone who
doesn't know what POSIX semaphores are is doubly unlikely to be the
right person to take advice from on this matter.
I have a similar feeling. I'd go further and suggest that even if a
highly knowledgeable person said something in the past, it should not be
taken as a binding contract that OS X will continue to behave in a
certain way.
@Michael Tyson: As far as I know, all of the relevant layers are
open-source (pthreads, libdispatch, kernel). It's worth taking at least
a cursory glance at the source code for the functions that you're
interested in.
http://opensource.apple.com/
(For a while, pthreads source code was omitted. I haven't checked
lately, you may have to look at older releases to find it.)
Cheers,
Ross.
_______________________________________________
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