摘要: 1.加互斥锁的单例(因为在多线程的情况下,不枷锁的情况线程是不安全的) + (instancetype)shaerdNetTool; // 实现 + (instancetype)shaerdNetTool{ static NetToll *tool = nil; @synchronized(self 阅读全文
posted @ 2016-03-07 00:38 朱保锋 阅读(138) 评论(0) 推荐(0)