• 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: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)


  • Subject: Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
  • From: "Ross Bencina" <email@hidden>
  • Date: Tue, 27 Apr 2010 15:41:57 +1000

Jeff Moore wrote:
This is an application bug.
The spin trace shows that the IOProc is calling AudioDeviceGetProperty().

Yes that's correct.

This call, like every other HAL API call, blocks.
So it cannot be made from your IOProc without things like this happening.

Thanks for clarifying Jeff.

To fix this, your app needs to be caching what it needs
from the HAL prior to the IOProc getting called.

Is there any guarantee of mutual exclusion beteen HAL notification callbacks and the IOProc? or do I have to implement some kind of lock free buffering to get make this information available to the callback without blocking.


Thanks!

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


  • Follow-Ups:
    • Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
      • From: Jeff Moore <email@hidden>
References: 
 >10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <-> AUHal deadlock ?) (From: "Ross Bencina" <email@hidden>)
 >Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?) (From: "Ross Bencina" <email@hidden>)
 >Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?) (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: AudioFileCreateWithURL returns kAudioFilePermissionsError ('prm?')
  • Next by Date: Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
  • Previous by thread: Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
  • Next by thread: Re: 10.6.3 Open File Dialog preview stalling AUHAL (AudioQueue <->AUHal deadlock ?)
  • Index(es):
    • Date
    • Thread