优先级TPL DataFlow BufferBlock
-
14-11-2019 - |
题
它应该是非常自然的,我想知道是否有从TPL DataFlow库的优先级缓冲区的实现?
解决方案
Seems the best way to achieve this is to use a specialised Task Scheduler, rather than implementing your own BufferBlock. There are many variety of them one can find out in net. For instance, check QueuedTaskScheduler
in ParallelExtensions Library
不隶属于 StackOverflow