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

Zones


  • Subject: Zones
  • From: John MacMullin <email@hidden>
  • Date: Fri, 2 Jan 2004 14:45:55 -0700

I have been experimenting with various means of controllingmemory usage
and have come across several references in the archives. I have
several questions.

1. The first deals with the destruction of a zone, the documentation
states: "to destroy a zone completely, you must use the system level
function malloc_destroy_zone." I have done a search on this command
and can find nothing. Where does one find docs on this command?

2. I have attempted to use
_CFAllocatorCustomDestroy((malloc_zone_t*)zone) and can't get it to
compile (this is from the core foundation
http://cvs.opendarwin.org//cgi-bin/cvsweb.cgi/src/CoreFoundation/
Base.subproj/CFBase.c?annotate=1.1&sortby=rev) . Can this be used in a
Cocoa program and if so what include do I need? And what is the format
of the command?

3. At
http://www.mail-archive.com/email@hidden/msg12360.htm
there is a reference to a: NXDestroyZone((malloc_zone_t*)z); I cannot
find this method in any Cocoa documentation. Does it exist? Or is it
NSDestroyZone?

John
_______________________________________________
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.

  • Prev by Date: Re: [OT] Encryption
  • Next by Date: Zones
  • Previous by thread: Re: Writing to a MySQL database server
  • Next by thread: Zones
  • Index(es):
    • Date
    • Thread