C# first class continuation via C++ interop or some other way?

前端 未结 5 2026
半阙折子戏
半阙折子戏 2021-02-02 08:11

We have a very high performance multitasking, near real-time C# application. This performance was achieved primarily by implementing cooperative multitasking in-house with a ho

5条回答
  •  [愿得一人]
    2021-02-02 08:40

    Actually, we decided on a direction to go with this. We're using the Observer pattern with Message Passsing. We built a home grown library to handle all communication between "Agents" which are similar to an Erlang process. Later we will consider using AppDomains to even better separate Agents from each other. Design ideas were borrowed from the Erlang programming language which has extremely reliable mult-core and distributed processing.

提交回复
热议问题