开发者

Prioritized TPL DataFlow BufferBlock

开发者 https://www.devze.com 2023-03-06 23:42 出处:网络
It should be something very natural to have, I was wondering if there is a ready i开发者_开发知识库mplementation of Prioritized BufferBlock from TPL DataFlow library?Seems the best way to achieve this

It should be something very natural to have, I was wondering if there is a ready i开发者_开发知识库mplementation of Prioritized BufferBlock from TPL DataFlow library?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号