Processing a queue of items asynchronously in C#

后端 未结 3 940
执念已碎
执念已碎 2021-02-06 16:36

I am trying to create a system that processes a queue of work. The system has the following specifications:

  1. The system has two components, a work assigner and a wo
3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-06 17:40

    Use a thread pool. Here's one that handles the queueing of work items and dispatching them across the thread pool.

提交回复
热议问题