摘要:
ConcurrentQueue和BlockingCollection的区别 区别 1. 阻塞行为(最核心区别) ConcurrentQueue<T>:无阻塞机制 它仅保证线程安全的队列操作,但不提供“阻塞”功能。 当队列为空时,调用Dequeue()会直接抛出InvalidOperationExce 阅读全文
posted @ 2025-07-14 08:00
超级无敌美少男战士
阅读(43)
评论(0)
推荐(0)
浙公网安备 33010602011771号