• 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: Tracking the retain count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking the retain count


  • Subject: Re: Tracking the retain count
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 18 May 2015 13:25:27 -0500

On May 18, 2015, at 12:52 PM, Britt Durbrow <email@hidden> wrote:

> In order to maintain graph coherency the object pool controller must ensure that there is only ever one object in memory with a particular UUID. Consequently, I can’t just have the object pool controller release the objects without assurance that nothing else is going to keep it around (and potentially use it after the object pool controller has replaced it with another object with the same UUID, reloaded from disk).

Can you have some sort of -invalidate method on the objects that puts them into a state where they can't be used or confused with a subsequently-loaded object?  If necessary, it could clear the UUID or whatever.

Regards,
Ken


_______________________________________________

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


  • Follow-Ups:
    • Re: Tracking the retain count
      • From: Britt Durbrow <email@hidden>
References: 
 >Tracking the retain count (From: Britt Durbrow <email@hidden>)
 >Re: Tracking the retain count (From: Jonathan Hull <email@hidden>)
 >Re: Tracking the retain count (From: Britt Durbrow <email@hidden>)
 >Re: Tracking the retain count (From: Quincey Morris <email@hidden>)
 >Re: Tracking the retain count (From: Britt Durbrow <email@hidden>)

  • Prev by Date: Date Picker
  • Next by Date: Re: Tracking the retain count
  • Previous by thread: Re: Tracking the retain count
  • Next by thread: Re: Tracking the retain count
  • Index(es):
    • Date
    • Thread