![]() |
Memory Allocation Option Constants |
Header: Multiprocessing.h |
Specify optional actions when calling the MPAllocateAligned function.
enum { kMPAllocateClearMask = 1, kMPAllocateGloballyMask = 2, kMPAllocateResidentMask = 4, kMPAllocateNoGrowthMask = 16 };
Zero out the allocated memory block.
Allocate memory from in memory space that is visible to all processes. Note that such globally-allocated space is not automatically reclaimed when the allocating process terminates. By default,
Allocate memory from resident memory only (that is, the allocated memory is not pageable).
Do not attempt to grow the pool of available memory. Specifying this option is useful, as attempting to grow memory may cause your task to block until such memory becomes available.
Introduced with Multiprocessing Services 2.0.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)