摘要: http://blog.csdn.net/xiaofei0859/article/details/5818511 线程安全: 线程安全函数:在C语言中局部变量是在栈中分配的,任何未使用静态数据或其他共享资源的函数都是线程安全的。 使用全局变量的函数是非线程安全的。 使用静态数据或其他共享资源的函数, 阅读全文
posted @ 2017-04-19 18:59 zzfx 阅读(378) 评论(0) 推荐(0)
摘要: 临界区是访问共享数据的代码块。 线程安全,线程共享数据的安全访问。 线程安全:对共享资源的有序访问。 http://www.cnblogs.com/wind-net/archive/2012/08/29/2661693.html 每个进程中访问临界资源的那段代码称为临界区(Critical Sect 阅读全文
posted @ 2017-04-19 18:56 zzfx 阅读(298) 评论(0) 推荐(0)
摘要: https://developer.apple.com/library/content/documentation/General/Conceptual/ConcurrencyProgrammingGuide/OperationQueues/OperationQueues.html#//apple_ 阅读全文
posted @ 2017-04-19 17:22 zzfx 阅读(213) 评论(0) 推荐(0)
摘要: Core Animation 是对现有图片的操作函数。 https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.h 阅读全文
posted @ 2017-04-19 15:55 zzfx 阅读(141) 评论(0) 推荐(0)
摘要: Working with High-Resolution Images Layers do not have any inherent knowledge of the resolution of the underlying device’s screen. A layer simply stor 阅读全文
posted @ 2017-04-19 15:50 zzfx 阅读(397) 评论(0) 推荐(0)
摘要: Layers provide infrastructure for your views. 内核与外壳;数据与封装的关系。 阅读全文
posted @ 2017-04-19 15:27 zzfx 阅读(147) 评论(0) 推荐(0)
摘要: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CoreAnimation_guide/CoreAnimationBasics/CoreAnimationBasics.html#//apple_re 阅读全文
posted @ 2017-04-19 15:18 zzfx 阅读(272) 评论(0) 推荐(0)
摘要: 1)iOS动画的模型:三层树模型; CALayer维护数据模型和图片,沟通了CPU和GPU;数据模型和图片本尊有CPU生成和维护;图片动画由GPU合成和呈现; https://developer.apple.com/library/content/documentation/Cocoa/Concep 阅读全文
posted @ 2017-04-19 00:21 zzfx 阅读(256) 评论(0) 推荐(0)