- Distributed Computing with Go
- V.N. Nikhil Anurag
- 113字
- 2021-06-24 18:36:13
Channels and Messages
In Chapter 2, Understanding Goroutines, we looked at how goroutines work, how to use them in a concurrent fashion, and some of the common mistakes that might occur. They were simple to use and reason about, but they were limited because they are able to spawn other goroutines and wait on system calls. In reality, goroutines are more capable than what was shown in the previous chapter, and to uncover their full potential we need to understand how to use channels, which is the aim of the current chapter. Here, we will look at the following topics:
- Controlling parallelism
- Channels and data communication
- Types of channels
- Closing and multiplexing channels
推薦閱讀
- Windows Vista基礎(chǔ)與應(yīng)用精品教程
- 循序漸進(jìn)學(xué)Docker
- 網(wǎng)絡(luò)操作系統(tǒng)管理與應(yīng)用(第三版)
- 移動(dòng)應(yīng)用UI設(shè)計(jì)模式(第2版)
- AutoCAD 2014中文版從入門到精通
- 計(jì)算機(jī)系統(tǒng)的自主設(shè)計(jì)
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- Windows 8實(shí)戰(zhàn)從入門到精通(超值版)
- Windows 7實(shí)戰(zhàn)從入門到精通(超值版)
- 統(tǒng)信UOS應(yīng)用開(kāi)發(fā)進(jìn)階教程
- Agile IT Security Implementation Methodology
- Responsive Web Design with AngularJS
- 樹(shù)莓派+傳感器:創(chuàng)建智能交互項(xiàng)目的實(shí)用方法、工具及最佳實(shí)踐
- Windows 11使用方法與技巧從入門到精通
- Raspberry Pi Networking Cookbook