• 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: Autorelease Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorelease Question


  • Subject: Re: Autorelease Question
  • From: Luke the Hiesterman <email@hidden>
  • Date: Wed, 19 Nov 2008 16:33:25 -0800

Nothing prevents someone from running their own runloop, but I dealt with the most common case. Also, if you use your own NSAutoreleasePool, it's even easier to know when autoreleases will happen, because you're doing your own [pool drain];

Luke


On Nov 19, 2008, at 4:24 PM, Kyle Sluder wrote:

On Wed, Nov 19, 2008 at 6:44 PM, Luke the Hiesterman <email@hidden > wrote:
It's simply not true that you have "no idea" when an object will be
autoreleased. If you're on the main thread, you know that it will be
released at the end of the runloop, and you know that your current method
will return to its caller within the current runloop.

What prevents someone from manually running the runloop?

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Autorelease Question (From: "Carmen Cerino Jr." <email@hidden>)
 >Re: Autorelease Question (From: DKJ <email@hidden>)
 >Re: Autorelease Question (From: Filip van der Meeren <email@hidden>)
 >Re: Autorelease Question (From: "Kyle Sluder" <email@hidden>)
 >Re: Autorelease Question (From: Luke the Hiesterman <email@hidden>)
 >Re: Autorelease Question (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Autorelease Question
  • Next by Date: Re: Autorelease Question
  • Previous by thread: Re: Autorelease Question
  • Next by thread: Re: Autorelease Question
  • Index(es):
    • Date
    • Thread