<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Coroutine on Tony老师的博客</title><link>https://blog.tanteng.space/tags/coroutine/</link><description>Recent content in Coroutine on Tony老师的博客</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Mon, 05 Dec 2016 11:00:00 +0800</lastBuildDate><atom:link href="https://blog.tanteng.space/tags/coroutine/index.xml" rel="self" type="application/rss+xml"/><item><title>进程、线程与协程：操作系统视角的本质区别</title><link>https://blog.tanteng.space/2016/12/process-thread-coroutine/</link><pubDate>Mon, 05 Dec 2016 11:00:00 +0800</pubDate><guid>https://blog.tanteng.space/2016/12/process-thread-coroutine/</guid><description>&lt;p&gt;2016 年最热的技术话题之一是&amp;quot;协程&amp;quot;。Go 1.7 进一步优化了 goroutine 调度，Lua、Erlang 的协程模型在游戏和电信行业早已成熟。但到底什么是协程？它和线程的区别在哪？——这三个概念必须从&lt;strong&gt;操作系统的视角&lt;/strong&gt;区分清楚，否则永远在&amp;quot;哪个性能更好&amp;quot;上打转。&lt;/p&gt;
&lt;p&gt;这篇文章回到最基础的层次：进程、线程、协程在 Linux 内核和 CPU 眼里到底是什么样的东西。&lt;/p&gt;</description></item></channel></rss>