ChenYilong / ChenYilong/ParseSourceCodeStudy
dispatch_once
Open
- Dominant language
- Objective-C
- Stars
- 2.8k
- Forks
- 529
- PR merge metrics
- No merged PRs in 30d
Description
在第7篇讲述信号量的文章中说通过dispatch_once 来保证避免线程的竞争,哪里有竞争的地方啊,没有看到同时操作代码块的地方也没有读取同一块数据的地方,大神请解释一下
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.