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