pipeline和channel的区别


pipeline和channel的区别

在golang中,学到channel时,往往都会产生一些疑惑,和channel的区别是什么?

以下就是区别:

difference channel pipeline
structure streams of a Go type unstructured streams of bytes
platform specific type in golang unix Or unix like
buffer Depending on the circumstances always buffered
features connected between goroutine between two process(std.in/out)

事实上,这两个东西区别还是挺大的,但是用处都很明确,就是通信


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM