• 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: best way to divert callbacks to main thread from audio thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to divert callbacks to main thread from audio thread


  • Subject: Re: best way to divert callbacks to main thread from audio thread
  • From: Paul Davis <email@hidden>
  • Date: Mon, 03 Oct 2011 15:12:17 -0400

On Mon, Oct 3, 2011 at 3:08 PM, Robert Bielik <email@hidden> wrote:
> For this kind of purpose I'm using a FIFO (wrapped circular buffer) to store
> object references (think placement new), then extracting info in
> the GUI thread. No lock on audio side, and next to zero execution time.

no wakeup semantics though, which is fine if you are just going to
poll from the GUI. but yes, you're right that for a lot of things,
this is an ideal solution (and it even works on iOS! :)
 _______________________________________________
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: 
 >best way to divert callbacks to main thread from audio thread (From: Rich E <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Paul Davis <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Kyle Sluder <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Rich E <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Robert Bielik <email@hidden>)

  • Prev by Date: Re: best way to divert callbacks to main thread from audio thread
  • Next by Date: Re: best way to divert callbacks to main thread from audio thread
  • Previous by thread: Re: best way to divert callbacks to main thread from audio thread
  • Next by thread: Re: best way to divert callbacks to main thread from audio thread
  • Index(es):
    • Date
    • Thread