• 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: Garbage collector in an audio unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage collector in an audio unit


  • Subject: Re: Garbage collector in an audio unit
  • From: Paul Davis <email@hidden>
  • Date: Sun, 23 May 2010 20:27:35 -0400



On Sun, May 23, 2010 at 7:44 PM, Brian Willoughby <email@hidden> wrote:

AUBase::Initialize() must be called before any other code in the AU, so you could set a global flag and call the H-b initialize exactly once. However, I don't know what would happen if you have multiple AudioUnits using the same gc or if the host is using the same gc.  Does Hans-boehm have any sort of protection against multiple initialize calls?  Is it open source?

my recollection is that H-B GC needs to see the state of the heap before most of the program has gotten started. clearly, there must be some fuzziness because you don't know what has happened before you get into main(), but i seem to recall that things can go awry if you initialize it "late" in the process lifecycle.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Garbage collector in an audio unit
      • From: paul Fultz <email@hidden>
References: 
 >Garbage collector in an audio unit (From: paul Fultz <email@hidden>)
 >Re: Garbage collector in an audio unit (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Re: Garbage collector in an audio unit
  • Next by Date: Re: Garbage collector in an audio unit
  • Previous by thread: Re: Garbage collector in an audio unit
  • Next by thread: Re: Garbage collector in an audio unit
  • Index(es):
    • Date
    • Thread