2016年7月25日

iOS多线程各种安全锁介绍 - 线程同步

摘要: 一、atomic介绍 github对应Demo:https://github.com/Master-fd/LockDemo 在iOS中,@property 新增属性时,可以增加atomic选项,atomic会给对应对setter方法加锁,相当于 - (void)setTestStr:(NSStrin 阅读全文

posted @ 2016-07-25 23:32 RobotZhu 阅读(3624) 评论(0) 推荐(0) 编辑

导航