ParseSourceCodeStudy icon indicating copy to clipboard operation
ParseSourceCodeStudy copied to clipboard

dispatch_once

Open mokey1422 opened this issue 8 years ago • 0 comments

在第7篇讲述信号量的文章中说通过dispatch_once 来保证避免线程的竞争,哪里有竞争的地方啊,没有看到同时操作代码块的地方也没有读取同一块数据的地方,大神请解释一下

mokey1422 avatar Mar 30 '17 08:03 mokey1422