Re: locks for AU rendering
Re: locks for AU rendering
- Subject: Re: locks for AU rendering
- From: Marc Poirier <email@hidden>
- Date: Wed, 9 Apr 2003 09:49:23 +0200 (CEST)
>
One way to do this is using a safe mode of swapping out a pointer to
>
the data you need to read
>
>
Thus, when you write you first write to another piece of memory, then
>
when you are done just swap the pointer around that your read from.
>
>
That way you don't need to take locks in your render thread...
And another nice idea, thanks Bill. I think that might be a
better/smoother solution, perhaps something to try in 1.0.1...
Thanks all for the help,
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.