• 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
Question about HALRunLoop thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about HALRunLoop thread


  • Subject: Question about HALRunLoop thread
  • From: "Brant Sears" <email@hidden>
  • Date: Fri, 7 Jul 2006 14:42:43 -0400
  • Thread-topic: Question about HALRunLoop thread

Title: Question about HALRunLoop thread

Hi. I'm using Core Audio in a WebKit plugin. I am attempting to tear down all the Core Audio stuff when the instance of my plugin gets destroyed. The problem is that a thread remains which seems to be the "HALRunLoop" thread:

CAPThread::Entry
HALRunLoop::OwnThread
CFUnLoopRunSpecific
__CFRunLoopRun
mach_msg
mach_msg_trap

So, in my "tear down" code, I call AUGraphStop and then when my object (that owns/controls the audio stuff) is deallocated, I call the following:

        OSStatus status;
        status = AUGraphUninitialize(graphUnit);
        assert(status == noErr);
        status = AUGraphClose(graphUnit);
        assert(status == noErr);
        status = DisposeAUGraph(graphUnit);
        assert(status == noErr);

Should I be expecting this thread to go away? If not, why not?

Thanks.

 _______________________________________________
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: Question about HALRunLoop thread
      • From: Jeff Moore <email@hidden>
  • Prev by Date: how do I change bitsperchannel value
  • Next by Date: Re: Question about HALRunLoop thread
  • Previous by thread: Re: how do I change bitsperchannel value
  • Next by thread: Re: Question about HALRunLoop thread
  • Index(es):
    • Date
    • Thread