Skip to content

dispatch_once #12

@mokey1422

Description

@mokey1422

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions