• 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: locks for AU rendering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: locks for AU rendering (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: locks for AU rendering
  • Next by Date: Re: AUGraphInitialize in audio thread
  • Previous by thread: Re: locks for AU rendering
  • Next by thread: Re: locks for AU rendering
  • Index(es):
    • Date
    • Thread