Having the #ifdef blocks for multi-task vs. polling leads to build/test issues (particularly annoying to have to build and test each possible configuration.)
It should be possible to have the determination of whether to use a polling model or a task-per-blocking-interface model be at load-time or even run-time reconfigurable.
Likely will be a configuration table setting for each peer and this should support a mixed model, with some peers using tasks and others using polling.
Having the #ifdef blocks for multi-task vs. polling leads to build/test issues (particularly annoying to have to build and test each possible configuration.)
It should be possible to have the determination of whether to use a polling model or a task-per-blocking-interface model be at load-time or even run-time reconfigurable.
Likely will be a configuration table setting for each peer and this should support a mixed model, with some peers using tasks and others using polling.