摘要: C#实现的阻塞队列,功能类似GO里的channel。 public class CBlockQueue<T> { private readonly Queue<T> queue = new Queue<T>(); private readonly int maxSize; bool closing; 阅读全文
posted @ 2019-12-27 17:13 morning_sun 阅读(3377) 评论(0) 推荐(0) 编辑