摘要: 1.channel数据结构 type hchan struct { qcount uint // 缓冲区中已有元素个数 dataqsiz uint //循环队列容量大小 buf unsafe.Pointer // 缓冲区指针 elemsize uint16 //元素大小 closed uint32 阅读全文
posted @ 2019-01-16 09:31 啊汉 阅读(2652) 评论(0) 推荐(0) 编辑