Re: Threading Question
Re: Threading Question
- Subject: Re: Threading Question
- From: Michael Tyson <email@hidden>
- Date: Mon, 13 Feb 2012 10:43:41 +0100
Hopefully I've managed to fix the dumb that Michael pointed out in TPCircularBuffer =)
Incidentally, this is how I'm using it to avoid locking from my realtime core audio thread. It uses two ring buffers, one that contains messages for the realtime thread to process, and one that contains responses from the realtime thread, both of which are polled by their respective threads. Two utility methods provide synchronous and asynchronous (with a block argument for reply processing) message-response exchange.
--
A Tasty Pixel: App artisans
Latest news: Loopy HD wins 2nd place in the 2011 Best App Ever Awards for Best Musicians App!
On 13 Feb 2012, at 02:55, Morgan Packard wrote: I'd be very grateful for a ring buffer I can trust for communication from one thread to another.-Morgan
|
_______________________________________________
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