ChenYilong / ChenYilong/ParseSourceCodeStudy

Demo03 没有 dispatch_suspend 也会在 dispatch_async 之前打印?

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
2.8k
Forks
529
PR merge metrics
No merged PRs in 30d

Description

我测试的情况来看 [Demo_03_对DispatchQueue实现取消恢复操作_简单版] 中就算没有 dispatch_suspend 的暂停其实也会先于 dispatch_async 的 Log,这是为什么呢?

![screenshot](https://cloud.githubusercontent.com/assets/2088605/26489895/cbdf175e-423b-11e7-9b2b-a76c7d48bc74.jpg)

所以这个例子是不是有点不太恰当呢

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.