2018年11月9日

golang channel 使用总结

摘要: "原文地址" 不同于传统的多线程并发模型使用共享内存来实现线程间通信的方式,golang 的哲学是通过 channel 进行协程(goroutine)之间的通信来实现数据共享: Do not communicate by sharing memory; instead, share memory b 阅读全文

posted @ 2018-11-09 15:37 _toby 阅读(19607) 评论(0) 推荐(1) 编辑

导航