yunshuipiao / Potato

Read the fucking source code for the Android interview
Apache License 2.0
80 stars 12 forks source link

Kotlin Coroutine #56

Open yunshuipiao opened 5 years ago

yunshuipiao commented 5 years ago

Kotlin Coroutine

[TOC]

科普解释进程,线程,协程

链接:https://www.zhihu.com/question/20511233/answer/24260355

没有啥复杂的东西,考虑清楚需求,就可以很自然的衍生出这些解决方案。

本质上协程就是用户空间下的线程。