• 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: David Duncan <email@hidden>
  • Date: Sun, 23 May 2010 19:28:16 -0700

On May 23, 2010, at 6:33 PM, paul Fultz wrote:

So if the audio unit is created on another thread, I assume from the above that the state of the heap needs to be set for that thread. Since the thread is created by the host, Hans-boehm GC may not work at all, or perhaps all allocations to the heap are not Thread-local. I still need to test this.

Your basic problem is that as a plugin you are trying to use a garbage collector that expects to operate on the entire process.  

Generally as a plugin, you don't get to dictate this type of process detail. Unless you can find a garbage collector that only works with pointers that it allocated, you will have to respect the global GC state for the application rather than bringing your own.

--

Reality is what, when you stop believing in it, doesn't go away.

Failure is not an option. It is a privilege reserved for those who try.


David Duncan


 _______________________________________________
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

References: 
 >Garbage collector in an audio unit (From: paul Fultz <email@hidden>)
 >Re: Garbage collector in an audio unit (From: Brian Willoughby <email@hidden>)
 >Re: Garbage collector in an audio unit (From: Paul Davis <email@hidden>)
 >Re: Garbage collector in an audio unit (From: paul Fultz <email@hidden>)

  • Prev by Date: Re: Garbage collector in an audio unit
  • Next by Date: How to set Sample Rate Conversion quality
  • Previous by thread: Re: Garbage collector in an audio unit
  • Next by thread: Re: Garbage collector in an audio unit
  • Index(es):
    • Date
    • Thread