Multithreaded job queue manager

前端 未结 11 2103
情话喂你
情话喂你 2020-12-22 18:42

I need to manage CPU-heavy multitaskable jobs in an interactive application. Just as background, my specific application is an engineering design interface. As a user tweaks

11条回答
  •  伪装坚强ぢ
    2020-12-22 19:36

    You might want to look at Flow-Based Programming - it is based on data chunks streaming between asynchronous components. There are Java and C# versions of the driver, plus a number of precoded components. It is intrinsically multithreaded - in fact the only single-threaded code is within the components, although you can add timing constraints to the standard scheduling rules. Although it may be at too fine-grained a level for what you need, there may be stuff here you can use.

提交回复
热议问题