• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pthread_cond_signal and priority inversion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: pthread_cond_signal and priority inversion (From: Kyle Neideck <email@hidden>)
 >Re: pthread_cond_signal and priority inversion (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: pthread_cond_signal and priority inversion
  • Next by Date: Re: pthread_cond_signal and priority inversion
  • Previous by thread: Re: pthread_cond_signal and priority inversion
  • Next by thread: Re: pthread_cond_signal and priority inversion
  • Index(es):
    • Date
    • Thread