网友收藏golang之channel源码解析_channel原码-CSDN博客文章浏览阅读344次。type hchan struct { dataqsiz uint //缓冲槽大小 buf unsafe.Pointer//缓冲槽指针 sendx uint // 发送索引 recvx uint // 接受索引 recvq waitq // 接收队列 sendq waitq // 发送队列}异步和同步的区别,在于是............ 2023-11-11 18:12 评论 0 阅读 阅读全文