会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HarrySun
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2014年9月19日
go channel 案例分析
摘要: 断断续续理了一下关于channel的一些概念,现在可以把下面的程序理清楚了。1. source code这个程序来自于《Go语言程序设计》 7.2.2 并发的Grep, 程序如下。package mainimport ( "bufio" "bytes" "fmt" "io" ...
阅读全文
posted @ 2014-09-19 02:37 HarrySun
阅读(877)
评论(0)
推荐(0)
go channel learning
摘要: I spent several hours to figure out some conceptions about channel tonight1. buffered channel and non-buffered channelbuffered channelbufferedchan := ...
阅读全文
posted @ 2014-09-19 00:45 HarrySun
阅读(152)
评论(0)
推荐(0)