• 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: what's an NSZone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what's an NSZone?


  • Subject: Re: what's an NSZone?
  • From: Chris Kane <email@hidden>
  • Date: Sat, 16 Feb 2002 11:54:44 -0800

On Friday, February 15, 2002, at 03:23 PM, Nat! wrote:
And then there is the CFAllocator in Corefoundation, which isn't interchangeable with NSZone as well, but appears to be pretty much the same idea.

In 10.1, CFAllocators and malloc_zone_t's are bridged -- mostly interchangeable (I think CFAllocatorSetDefault() requires its parameter to really be a CFAllocator, which isn't too much to ask; setting a custom zone that you're going to destroy in the future as the default allocator would be a bad idea anyway). One can see this nastiness in the Darwin CF sources.


Chris Kane
Cocoa Framework, Apple
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: what's an NSZone? (From: Nat! <email@hidden>)

  • Prev by Date: Re: what's an NSZone?
  • Next by Date: Re: Open/Save into packages?
  • Previous by thread: Re: what's an NSZone?
  • Next by thread: Re: what's an NSZone?
  • Index(es):
    • Date
    • Thread