• 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: Audio stuttering under CPU load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio stuttering under CPU load


  • Subject: Re: Audio stuttering under CPU load
  • From: Paul Davis <email@hidden>
  • Date: Tue, 9 Feb 2010 18:25:43 -0500

On Tue, Feb 9, 2010 at 6:08 PM, Bertrand, Pierre-Luc
<email@hidden> wrote:
> Right !
>
> But I'm pretty confident that there is an assembler instruction in ARM
> equivalent to 'inc eax'. You are correct in Java though that the
> behavior is not as expected because of the thread caching :)

no, its not related to that at all. its related to processor level
reordering of instructions. on modern cpu's you cannot assume
instructions are executed in the order you provided them. if you don't
understand what a memory barrier is then it is very, very dangerous to
try to use the atomicity of certain assembler instructions to ensure
correct thread synchronization.

--p (said as one who has been there, done that, don't want to go back)
 _______________________________________________
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: 
 >Audio stuttering under CPU load (From: "Bertrand, Pierre-Luc" <email@hidden>)
 >Re: Audio stuttering under CPU load (From: Doug Wyatt <email@hidden>)
 >RE: Audio stuttering under CPU load (From: "Bertrand, Pierre-Luc" <email@hidden>)
 >Re: Audio stuttering under CPU load (From: Paul Davis <email@hidden>)
 >RE: Audio stuttering under CPU load (From: "Bertrand, Pierre-Luc" <email@hidden>)

  • Prev by Date: Re: Audio stuttering under CPU load
  • Next by Date: Re: AU hosting and AU life cycle management
  • Previous by thread: Re: Audio stuttering under CPU load
  • Next by thread: Re: Audio stuttering under CPU load
  • Index(es):
    • Date
    • Thread