【发布时间】:2013-03-02 06:18:06
【问题描述】:
accepted answer to question "Why does this Parallel.ForEach code freeze the program up?" 建议在 WPF 应用程序中将 List 用法替换为 ConcurrentBag。
我想了解在这种情况下是否可以使用 BlockingCollection 代替?
【问题讨论】:
标签: c# wpf multithreading linq task-parallel-library