• 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: Update Cocoa object from callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update Cocoa object from callback


  • Subject: Re: Update Cocoa object from callback
  • From: Kurt Revis <email@hidden>
  • Date: Tue, 20 May 2003 21:08:17 -0700

On Tuesday, May 20, 2003, at 03:47 PM, Robert Grant wrote:

Wasn't there kind of a big flame out a while ago about doing work in these threads? I remember posting about using NSNotifications to alert the main thread and there was a big discussion about how to ensure that no memory was malloc'd and that the thread wasn't blocked/delayed etc.

So I'm surprised to see things like Autorelease pool allocations etc (surely a malloc happens underneath) being recommended in the callback....

Has the policy changed?

I don't think the policy has changed. It's still what you need to do to make a really good, professional app with the best possible timing. But if you are not an expert at coding multithreaded "real-time" apps, or are just hacking around and want to get things working quickly, you can cut a few corners and still get results that more-or-less work.

--
Kurt Revis
email@hidden
_______________________________________________
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: Update Cocoa object from callback (From: Robert Grant <email@hidden>)

  • Prev by Date: Input to iTunes
  • Next by Date: Re: Re-Sizing an AU window from within the AU view.
  • Previous by thread: Re: Update Cocoa object from callback
  • Next by thread: Re: Update Cocoa object from callback
  • Index(es):
    • Date
    • Thread