• 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
Rép : User-land CoreAudio driver and Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rép : User-land CoreAudio driver and Leopard


  • Subject: Rép : User-land CoreAudio driver and Leopard
  • From: Stéphane Letz <email@hidden>
  • Date: Fri, 16 Nov 2007 16:22:05 +0100

Some more questions, trying to understand the HP_IOThread class:

- in HP_IOThread::WorkLoop() the mIOGuard is locked before the while loop. What happens for commands that come from a thread different from the IO thread? (they are supposed to execute immediately, so SHP_Device::StartCommandExecution is called trying to Lock the mIOGuard, but since mIOGuard is alreadystill locked in HP_IOThread::WorkLoop() ?? ) Is the mIOGuard unlocked somewhere so that the pendind commands can be done?

- in HP_IOThread::WorkLoop(), commands coming from the IO thread itself are pushed in mCommandList if IsSafeToExecuteCommand returns false, then executed at the end of the IO cycle. But I see that some commands may do some non real-time safe operations (memory operations....), and are actually executed in the real-time thread...

Thanks

Stephane 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


  • Follow-Ups:
    • Re: Rép : User-land CoreAudio driver and Leopard
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Problems with iTunes Plus files and ExtAudioFile API
  • Next by Date: Re: Problems with iTunes Plus files and ExtAudioFile API
  • Previous by thread: Re: Rép : User-land CoreAudio driver and Leopard
  • Next by thread: Re: Rép : User-land CoreAudio driver and Leopard
  • Index(es):
    • Date
    • Thread