优先化的TPL DataFlow BufferBlock

hus*_*ayt 7 priority-queue task-parallel-library tpl-dataflow

它应该是非常自然的东西,我想知道是否有来自TPL DataFlow库的Prioritized BufferBlock的现成实现?

hus*_*ayt 0

似乎实现这一点的最佳方法是使用专门的Task Scheduler,而不是实现自己的 BufferBlock 。其种类有很多种,网上一查就能查到。例如,检查QueuedTaskSchedulerParallelExtensions