Re: best way to divert callbacks to main thread from audio thread
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