Rahix / profirust

A PROFIBUS-DP compatible communication stack written in Rust
Apache License 2.0
24 stars 2 forks source link

Multi-Application FDL #19

Open Rahix opened 3 weeks ago

Rahix commented 3 weeks ago

Right now the FDL can only deal with one upper-layer application. This is rather limiting for more complex usecases. The FDL should be designed to allow an arbitrary amount of applications to run ontop of it and somehow allocate resources between them fairly.

Thoughs:

Motivating Use-Cases:

Rahix commented 1 week ago

Basic multi-application FDL support was implemented in commit f644cf686138 ("fdl: active: Implement multi application polling"). This already takes care of most things, there are only two edge-cases that are not entirely clean yet: