Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Grow-Zone Operations
You can implement a grow-zone function that the Memory Manager calls when it cannot fulfill a memory request. You should use the grow-zone function only as a last resort to free memory when all else fails. For explanations of how grow-zone functions work and an example of a memory-management scheme that uses a grow-zone function, see the discussion of low-memory conditions in the chapter "Introduction to Memory Management" in this book.The
SetGrowZoneprocedure specifies which function the Memory Manager should use for the current zone. The grow-zone function should call theGZSaveHndfunction to receive a handle to a relocatable block that the grow-zone function must not move
or purge.
Subtopics
- SetGrowZone
- GZSaveHnd
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |