• 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: Recommend way for an Audio Unit to implement a background timer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recommend way for an Audio Unit to implement a background timer


  • Subject: Re: Recommend way for an Audio Unit to implement a background timer
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 20 Feb 2009 08:05:27 -0800


On Feb 20, 2009, at 1:35 AM, Muon Software Ltd - Dave wrote:

maybe my timer is attaching itself to the run loop in a way that is
disturbing perhaps other timers installed on the host. I have tried a
build where the callback did nothing at all and commented out various
other bits of code until I got to the point where I concluded that if I
call CFRunLoopAddTimer it *will* crash *somewhere*, whereas if I don't
it will not.

Could you post the code that creates + adds the timer, and the empty callback?


Also, are you sure you're adding the timer from the main thread?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Recommend way for an Audio Unit to implement a background timer
      • From: "Muon Software Ltd - Dave" <email@hidden>
References: 
 >Recommend way for an Audio Unit to implement a background timer (From: "Muon Software Ltd - Dave" <email@hidden>)
 >Re: Recommend way for an Audio Unit to implement a background timer (From: Jens Alfke <email@hidden>)
 >RE: Recommend way for an Audio Unit to implement a background timer (From: "Muon Software Ltd - Dave" <email@hidden>)

  • Prev by Date: Re: Debugging cocoa
  • Next by Date: Re: Cocoa and future
  • Previous by thread: RE: Recommend way for an Audio Unit to implement a background timer
  • Next by thread: RE: Recommend way for an Audio Unit to implement a background timer
  • Index(es):
    • Date
    • Thread