new malloc calls
new malloc calls
- Subject: new malloc calls
- From: email@hidden
- Date: Fri, 09 Oct 2009 10:31:03 -0400
Hello,
I'm looking at <malloc/malloc.h>, and I see a number
of what appear to be new calls:
extern malloc_zone_t *malloc_default_purgeable_zone(void);
/* Returns a pointer to the default purgeable_zone. */
extern void malloc_make_purgeable(void *ptr);
/* Make an allocation from the purgeable zone purgeable if possible. */
extern int malloc_make_nonpurgeable(void *ptr);
/* Makes an allocation from the purgeable zone nonpurgeable.
* Returns zero if the contents were not purged since the last
* call to malloc_make_purgeable, else returns non-zero. */
What are purgeable zones?
Where are these calls documented?
Many thanks,
Ariel Burton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden