<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Concurrency on tenfy's blog</title><link>https://tenfy.cn/tags/concurrency/</link><description>Recent content in Concurrency on tenfy's blog</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 20 Sep 2017 17:40:57 +0000</lastBuildDate><atom:link href="https://tenfy.cn/tags/concurrency/index.xml" rel="self" type="application/rss+xml"/><item><title>golang channel有没buffer的区别</title><link>https://tenfy.cn/posts/golang-unbuffered-channel/</link><pubDate>Wed, 20 Sep 2017 17:40:57 +0000</pubDate><guid>https://tenfy.cn/posts/golang-unbuffered-channel/</guid><description>&lt;p>初学golang的很多人对buffer大小为0和1的channel都不了解。&lt;/p>
&lt;p>下面通过&lt;code>make(chan bool)&lt;/code>和&lt;code>make(chan bool, 1)&lt;/code>的例子说明它们的区别。&lt;/p></description></item></channel></rss>