关闭

CF的内存管理。

346人阅读 评论(0) 收藏 举报

https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFMemoryMgmt/CFMemoryMgmt.html


Memory Management Programming Guide for Core Foundation


Introduction

For managing memory Core Foundation uses allocators, a reference-counting mechanism, and a policy of object ownership that is suggested by the names of functions. This topic covers related techniques for creating, copying, retaining, and releasing objects.

Memory management is fundamental to using Core Foundation effectively and efficiently. This document is essential reading for all developers who use Core Foundation.

Organization of This Document

The following concepts and tasks discuss the built in support Core Foundation provides for managing the memory allocation and deallocation of objects:

If you need to customize your allocators then read:

To find out more about byte ordering and swapping see:

See Also

The following may also be of interest:


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:1909672次
    • 积分:19943
    • 等级:
    • 排名:第425名
    • 原创:9篇
    • 转载:1263篇
    • 译文:24篇
    • 评论:26条
    最新评论